(http://farm3.static.flickr.com/2009/2219323357_297a314ee8.jpg)
I don't know about you, but I sure as hell can't understand that!
wow, what a failure
if(you == understand.this){
make.a.girlfriend();
}
Looks like the stupid ads that appear on digg.
Incidentally, some good replies from The Daily WTF...
Here's what the code maybe should look like:
Quoteif ( you.understand(this) ) { you.need("a girlfriend") }
And here's just a good response:
Quote
if (you == write_ads_like.this) {
get.a.programming.book;
}
Quote from: iago on January 28, 2008, 10:55:15 AM
Incidentally, some good replies from The Daily WTF...
Here's what the code maybe should look like:
Quoteif ( you.understand(this) ) { you.need("a girlfriend") }
And here's just a good response:
Quote
if (you == write_ads_like.this) {
get.a.programming.book;
}
No, the original code works in C. You can have a struct with a 'this' member. Consequently, 'you' and 'this' are the same type. But the code it executes as a result of the condition is dead code (e.g. the statement '5;' is dead code).
struct lame {
int this;
};
struct lame3 {
int girlfriend;
}
struct lame2 {
struct lame3 a;
};
int you;
struct lame understand;
struct lame2 get;
if ( you == understand.this ) { /* Legal */
get.a.girlfriend; /* Dead code - does nothing */
}
I know this is probably over analyzing an ad...
Quote from: nslay on January 28, 2008, 11:03:01 AM
Quote from: iago on January 28, 2008, 10:55:15 AM
Incidentally, some good replies from The Daily WTF...
Here's what the code maybe should look like:
Quoteif ( you.understand(this) ) { you.need("a girlfriend") }
And here's just a good response:
Quote
if (you == write_ads_like.this) {
get.a.programming.book;
}
No, the original code works in C. You can have a struct with a 'this' member. Consequently, 'you' and 'this' are the same type. But the code it executes as a result of the condition is dead code (e.g. the statement '5;' is dead code).
struct lame {
int this;
};
struct lame3 {
int girlfriend;
}
struct lame2 {
struct lame3 a;
};
int you;
struct lame understand;
struct lame2 get;
if ( you == understand.this ) { /* Legal */
get.a.girlfriend; /* Dead code - does nothing */
}
I know this is probably over analyzing an ad...
Well, it *could* be valid code, but it still makes absolutely no sense. :P
No... it should be:
<html>
<body>
<h1>
STFU
</h1>
</body>
</html>