| « Prev | Page 1 | Next » |
Re: Classic WTF: Now That's A Neat Trick
2008-12-25 08:18
•
by
IByte
(unregistered)
|
|
Does using four different languages in one statement qualify as "innovative"?
|
Re: Classic WTF: Now That's A Neat Trick
2008-12-25 08:41
•
by
configurator
(unregistered)
|
|
Bien, of course c'est innovativi!
|
Re: Classic WTF: Now That's A Neat Trick
2008-12-25 14:05
•
by
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..."
|
|
I think this applies:
|
Re: Classic WTF: Now That's A Neat Trick
2008-12-26 08:24
•
by
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.". |
Re: Classic WTF: Now That's A Neat Trick
2008-12-26 12:13
•
by
Steeldragon
|
|
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............
|
Re: Classic WTF: Now That's A Neat Trick
2008-12-26 15:10
•
by
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
|
Re: Classic WTF: Now That's A Neat Trick
2008-12-26 17:01
•
by
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! |
Re: Classic WTF: Now That's A Neat Trick
2008-12-27 00:25
•
by
Real-modo
(unregistered)
|
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 at all. |
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. |
Re: Classic WTF: Now That's A Neat Trick
2008-12-28 08:44
•
by
Some dude
(unregistered)
|
|
who ever writes code like that should be shot.
|
Re: Classic WTF: Now That's A Neat Trick
2008-12-29 05:04
•
by
Gerhard
|
|
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.
|
Re: Classic WTF: Now That's A Neat Trick
2008-12-29 06:37
•
by
Herman
(unregistered)
|
|
The golden rule of programming: Debug first, code later.
(ACSI - The 7 character library before ASCII) |
Re: Classic WTF: Now That's A Neat Trick
2008-12-29 11:06
•
by
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. |
|
"Woah dude! My new program only got one file, one query and one output! That's how it's done! Yeah baby!"
|
| « Prev | Page 1 | Next » |