• IByte (unregistered)

    Does using four different languages in one statement qualify as "innovative"?

  • configurator (unregistered)

    Bien, of course c'est innovativi!

  • JimBob (unregistered)

    Holy carp. As I read each line of that sample, I literally was saying in my head, "No... oh crap, no.. no way..."

  • (cs)

    I think this applies:

    Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
        -Brian Wilson Kernighan</div></BLOCKQUOTE>
    
  • Jeff (unregistered)

    Never done anything like that myself, I've always done the HTML in the PHP code. I guess that means I'm not worthy.

    Still, I've seen stuff like that at work as well, with the explanation of "Well, yeah, I could have just included module X and wrote a single line of code, but wheres the fun in that? It would be very boring code.".

  • (cs) in reply to Jeff

    The Goggles. They really do nothing. Even when mixed with the Panic Blackout Glasses from The HitchHikers Guide to the Galaxy. My eyes, they're burning...all i can see is 42.42.42.42.42.42.42.42.42.42.42.42............

  • Role Player (unregistered)

    "It's like an express train full of things designed to hurt your mind; just when you think that it's finished running you over, another car hits you, grinding yet another valuable part of your soul beneath its wheels." - Darren

  • BillyBob (unregistered)

    "2 - The Nod -- Creative, as in, using a single 32-bit integer variable to store two 16-bit integers."

    You go to hell! You go to HELL and you DIE!

    Whoever thought up this brilliant piece of engineering... and Microsoft, for making this a feature of how your event loop works you need a HUGE kick up the ass!

  • Real-modo (unregistered) in reply to Gerhard
    Gerhard:
    I think this applies:
    Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
        -Brian Wilson Kernighan</div></BLOCKQUOTE></div></BLOCKQUOTE>You mean, it applies in reverse in this case? To paraphrase Terry Pratchett, I try to put "clever" together with this code, and I can't get them to overlap <i>at all</i>.
    
  • Kim (unregistered)
    Note to RSS subscribers: to save on bandwidth, I'm moving the RSS Feed to FeedBurner. Please let me know if you experience any disruptions.
    A RSS feed which only has the first paragraph (and not the entire article) would be a low bandwidth way of letting people know when a new article is out. Some of us reading from mobile phones would appreciate this option.
  • Some dude (unregistered)

    who ever writes code like that should be shot.

  • (cs) in reply to Real-modo

    I didn't say he pulled it off. He only tried to be clever. Had he gone for simple he might actually become a good programmer.

  • Herman (unregistered)

    The golden rule of programming: Debug first, code later.

    (ACSI - The 7 character library before ASCII)

  • iToad (unregistered)

    I propose the use of a "Goldberg Scale" to rate this type of code. This scale is (of course) named after the great cartoonist Rube Goldberg.

    On a Goldberg Scale of 1 to 10, with 1 being boring code, and 10 being 1000 lines of uncommented APL, this code would rate a solid 8. If it was self-modifying, it would rate even higher.

  • A total duche (unregistered)

    "Woah dude! My new program only got one file, one query and one output! That's how it's done! Yeah baby!"

Leave a comment on “Classic WTF: Now That's A Neat Trick”

Log In or post as a guest

Replying to comment #236437:

« Return to Article