Slashdot Mirror


New Whitespace-Only Programming Language

foobarbazquux writes "Introducing whitespace, a language designed to compensate for the "white-space doesn't count" culture of contemporary programming languages. Amaze your friends by hiding programs in your web-pages! Astound colleagues by putting a virus in your text file!" (And for those who prefer obfuscation to invisibility, Koshatul writes "This article in the Sydney Morning Herald, tells of a new programming language which 'makes it impossible to express a security vulnerability in a program's source code.'")

33 of 323 comments (clear)

  1. and none of these languages by circletimessquare · · Score: 4, Funny

    make it past the slashdot lameness filter

    Your comment violated the "postercomment" compression filter. Try less whitespace and/or less repetition. Comment aborted.

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  2. sounds good by Anonymous Coward · · Score: 1, Funny

    backin the day this probably could have gotten VC backing ...

  3. In other news... by Powercntrl · · Score: 2, Funny

    ATI just released a new version of their Catalyst drivers, and it fixes every known bug in every single game in existance. ATI also mentioned this driver fully supports Duke Nukem Forever, which was also released today.

    --

    ---
    DRM is like antifreeze, to the MPAA/RIAA it's sweet, to the consumers it's poison.
  4. Incredibly compressible by Alereon · · Score: 4, Funny

    I've found that GZIP is able to compress source code written in whitespace by up to 99.9%! This is truly an incredible advance in application development and distribution!

  5. I'm busy dammit! by Mattygfunk1 · · Score: 2, Funny
    I don't have enough time to learn yet another language. This isn't fair. Management is apparently already considering this as the "future of our progressive company".

    Then again as long as it doesn't use pointers the uni students will be happy.

    _______________
    Get slashdoted at Cheap Web Site Hosting

  6. A million monkeys... by ahkbarr · · Score: 5, Funny

    ...at keyboards, typing forever need only hit the space and/or tab keys to create the infamous do_stuff()! A breakthrough!

    Finally, I have the monkeys.. Now, to acquire the keyboards... Quickly too, because the monkeys are starting to get stank.

    "...now strip down and get on the probulator!"
    -Capt. Leela

    --
    Compared to war, all other forms of human endeavor shrink to insignificance. God, how I love it. - Gen. George Patton
  7. I have something to say by WhiteBandit · · Score: 5, Funny



  8. Re:Old news; Acme::Bleach by Phroggy · · Score: 4, Funny

    Hit your nearest CPAN mirror and 'use Acme::Bleach' for great justice.

    Speaking of which, have you seen http://www.cpan.org/ today? ;-)

    --
    $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
    $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  9. Source Example by coene · · Score: 4, Funny

    Well, I WOULD post a source example if Slashdot's "whitespace filter" and "lameness filter" wouldent prevent it...

    What's a guy gotta do to post whitespace source code around here?

  10. Security vulnerability in whitespace by tconnors · · Score: 3, Funny

    See, in .au, it is no longer April Fools. I almost fell for the NewCode thing, until about half way through!

    But I foiled the whitespace langauge. You can't see it, until you click and drag down the mozilla windows. Ha ha! I can see it now! Suckers.

  11. Re:Please not again... by Zork+the+Almighty · · Score: 5, Funny

    At least we know, because real articles are usually posted twice.

    --

    In Soviet America the banks rob you!
  12. Combine them by traskjd · · Score: 2, Funny

    I'm waiting for the next topic on the frontpage -

    "Gentoo Developers to recode kernal in whitespace" :D

  13. Next in the news.... by Snowpony · · Score: 2, Funny

    "whitespace" code broken by buffer overflow. Internationalisation of the "space" key blamed. Authorities warn not to use international versions whitespace.

    "It was horrible..one minute I was sitting in a counting loop and then the next thing I know someone pushed [TAB][SPACE][TAB][TAB] into the execution queue and all heck broke loose...."

    --
    Snowy Angelique Maslov - http://www.snowy.org/
  14. Sigh by arvindn · · Score: 4, Funny
    I have written a truly remarkable program in whitespace which prints out a proof of Fermat's last theorem.

    Unfortunately, I'm unable to post the source code here because of slashdot's lameness filter :(

  15. Re:Please not again... by TheFrood · · Score: 3, Funny

    Do the editors realize that it undermines the whole point of April Fool's Day when everything they post is a joke?

    Yes, they do. At the end of the day, they'll do an April Fool's Wrapup article, where they'll explain that they do it to get the flames. In other words, they basically admit to trolling their readership.

    Then, of course, a month later they'll be wondering why nobody's willing to pay for Slashdot.

    TheFrood

    --
    If you say "I'll probably get modded down for this..." then I will mod you down.
  16. Re:Old news; Acme::Bleach by Adam9 · · Score: 3, Funny

    I checked Matt's Script Archive and they didn't have it..

    Is there another source?

  17. Did any of you have this problem... by arvindn · · Score: 3, Funny
    I'm using vim, and I couldn't get any of my whitespace programs to run. I realized it was because I'd set the "expandtab" variable: it expands all tabs to spaces.

    ;^)

  18. Re:April fools, but by prockcore · · Score: 4, Funny

    I just want to mention that April Fools to me has always been to make up BELIEVABLE stories that you can gloat over later - which really adds to more of the fun.

    Right, it's not a successful april fools joke until you get convicted of fraud.

  19. C++ already did this by edhall · · Score: 5, Funny
    Bjarne Stroustrup wrote a paper a few years back proposing overloading the C++ whitespace operator, and claimed that the next C++ standard would include this feature. This allows for intuitive pratices such as using a space to indicate multiplication:
    double x = 1.4;
    double y = 2.5 x;
    or string concatenation:
    string s("first");
    string s2 = s "post";
    Other uses, such as making whichspace equivalent to the -> operator for particular classes can go far to make C++ syntax less obscure.

    It's a cool paper; check it out. If you have problems finding it, just Google for "B Stroustrup: Generalizing Overloading for C++2000. Overload, Issue 25. April 1, 1998."

    -Ed
  20. Oh really? by kinnell · · Score: 3, Funny
    April Fools to me has always been to make up BELIEVABLE stories that you can gloat over later

    Only 2 symbols are required to express any algorythm (1 and 0), and whitespace has 3 ([SPACE], [TAB] and [LF]). I can see no reason off hand why whitespace cannot work, and in fact without having tried it, I suspect it is probably genuine, if not entirely serious.

    --
    If I seem short sighted, it is because I stand on the shoulders of midgets
  21. So? by Anonymous Coward · · Score: 1, Funny

    Python's already been invented

  22. Now the RIAA will be after us all! by astrophysics · · Score: 4, Funny

    Forget the DeCSS T-shirts. Xerox is selling boxes of DeCSS source code in whitespace at Staples. And my department has a cabinet full of backup copies of the source. That should keep the RIAA busy for a good while.

  23. All I have to say is by patthoyts · · Score: 3, Funny

    >>>>>++[<++++>-]<[<++++>-]<<<<>>++++[<+++++>-]<[ <++++++>-]<-.
    >+++++[<--->-]<.+.>++++[<+++>-]<-.>+++[<----->-]<. >+++++[<+++>
    -]<-.---.>+++++[<--->-]<.++.++.>>>.<<<++++.>++[<++ +++>-]<.>>>.
    <<<>+++[<---->-]<-.>+++[<+++>-]<.+++.>>>.<<<------ .>+++[<--->
    -]<--.>++++[<+++>-]<.>++[<---->-]<.>++++[<+++>-]<+ .+.

  24. Re:Ok. Stop it. by ebbomega · · Score: 4, Funny

    Because we're nerds.

    Is this so hard to understand? We're the type of people who laughed at three Austin Powers Movies worth of the same jokes. The type of people who felt kinship with the horrible jokes of Revenge of the Nerds. The type of people who thought Hackers was hilarious (Oooo! A 28.8bps modem!!!)

    By all means, laugh at us rather than with us. It's not like nobody ever has before. I mean, they call us nerds for a reason.

    Why must so many people have such contempt for nerdy action on a website with the slugline "News For Nerds"?

    --
    Karma: Non-Heinous
  25. Re:Ok. Stop it. by Rolo+Tomasi · · Score: 4, Funny
    Internet April Fools Jokes are inheritently un-funny.

    Well, it's what you make of it. For example, this morning I exchanged the sugar in the sugar bowl with salt and watched someone spit coffee all over the place. That was funny.

    Oh, you mean jokes with, like, words and stuff ...

    --
    Did you know you can fertilize your lawn with used motor oil?
  26. New business plan for Whitespace by RyatNrrd · · Score: 2, Funny

    1.

    2.

    3. PROFIT!

  27. What? by thinduke · · Score: 2, Funny

    They reinvented Python?

  28. Re:Ok. Stop it. by gl4ss · · Score: 2, Funny

    well, i did something more internet related, i changed the internet explorer icon to to wipe the harddrive on my roomies computer, NOW THAT IS FUNNY.

    not

    --
    world was created 5 seconds before this post as it is.
  29. Re:Ok. Stop it. by druske · · Score: 2, Funny
    Normal newsoutlets have one April fools joke. Why does slashdot have to be different?
    You think this is bad, wait until Taco wakes up and starts posting duplicates!
  30. I want to submit a patch for the hello program by Skreech · · Score: 5, Funny

    There's a buffer overflow that can lead to root access with the hello-asking-name program. Here's a patch.

    -
    -
    +
    +
    +
    +
    +

  31. Re:Please not again... by TheRaven64 · · Score: 2, Funny
    At least we know, because real articles are usually posted twice.

    Thank you for clarifying that. This one, which is a duplicate of this one, must be a real article. I shall read it with interest.

    --
    I am TheRaven on Soylent News
  32. Re:April fools, but by Alsee · · Score: 3, Funny

    Right, it's not a successful april fools joke until you get convicted of fraud.

    Or manslaughter.

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.