Monday, October 09, 2006

Joke, with Solution

Spot the Error

Now tell me, can you blame the world if they think programmers are weird ? Just picture this: you see two guys rolling on the floor in the server room, ask them what's so funny and they show you this piece of code. They'll also provide you with the solution manual in case you didn't get the joke (all CS joke anthologies come with solution manuals).

Don't take this personally folks. Just making an anthropological observation.

4 Comments:

At 3:04 PM, Blogger Prashanth Pappu said...

ssAren't context sensitive jokes common in every field? Maybe we hear only the engineering ones. Remind me to tell you some conditioning and transference related pjs I heard from some psych majors.

 
At 1:38 AM, Blogger Crp said...

You're right there, but I think techies take this geekiness to a whole new level. Just check out the threads on discussions boards and blogs analyzing the above joke.

Bruce Schneier's blog

But hey, I don't mind. The joke's pretty funny and so are the threads:

"The test should use double parentheses to avoid a compiler warning.

Lesson: the government doesn't compile with warnings enabled.

Then again, I suppose we knew that."

"Calling punish_severely() without parameter raises two questions: is 'person' a global variable, such that the function may treat it as terroristic?
That isn't threadsafe.
If 'person' is meanwhile changed by another thread ... "

"Bruce, as you can see, you shouldn't be asking wether or not a C code snippet is correct.
Now the ghosts that you summoned, (speak: The C-i-haven't-seen-sunlight-in-days-freaks), will never ever leave your blog again.
Some things you just don't do.
Good luck"

 
At 1:40 AM, Blogger Crp said...

Also IM, "context sensitive jokes" huh ? See how even you can't escape your roots ?

 
At 5:11 PM, Blogger yangry star said...

> Aren't context sensitive jokes common in every field?

Priceless stuff!

 

Post a Comment

<< Home