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.'")

5 of 323 comments (clear)

  1. 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
  2. I have something to say by WhiteBandit · · Score: 5, Funny



  3. 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!
  4. 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
  5. 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.

    -
    -
    +
    +
    +
    +
    +