Page 1 of 2

"A day in the life of a programmer."

Posted: Mon Jul 31, 2006 10:34 pm
by daedalus__
Before I say anything:

This is not safe for children. There is profanity, please don't click if you can't handle that.
This may not be safe for work lol.

http://seattle.craigslist.org/see/rnr/188678814.html

I couldn't resist writing the best code-joke ever.

Posted: Tue Aug 01, 2006 12:28 am
by SomeOne
nice.... had a big lough time ... :)

Posted: Tue Aug 01, 2006 12:36 am
by timvw
Given the code he wrote he shouldn't earn more than $10/hr anyway...

Posted: Tue Aug 01, 2006 12:36 am
by Benjamin
timvw wrote:Given the code he wrote he shouldn't earn more than $10/hr anyway...
LOL

Posted: Tue Aug 01, 2006 12:39 am
by timvw
eg: (spot the bug :p)

Code: Select all

if ($this->monotony = TRUE)

I'd write that as:

Code: Select all

if ($this->monotony)

Posted: Tue Aug 01, 2006 12:40 am
by Benjamin
Yeah, no disagreement there.

Posted: Tue Aug 01, 2006 12:42 am
by Luke
haha you can't even post joke code here without people ripping it apart. I love this place!

Posted: Tue Aug 01, 2006 6:41 am
by MrPotatoes
that whole white look i was reading like a caveman

Posted: Tue Aug 01, 2006 7:55 am
by thiscatis
Nice one!

Posted: Tue Aug 01, 2006 8:16 am
by kaszu
LOL, this is good one.

Posted: Tue Aug 01, 2006 8:26 am
by MarK (CZ)
Looks like someone needs to debug his life :lol:

Posted: Tue Aug 01, 2006 8:50 am
by Oren
MarK (CZ) wrote:Looks like someone needs to debug his life :lol:
Now that was really good 8)

Posted: Tue Aug 01, 2006 1:35 pm
by kbrown3074
dat was some funny <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>...

Posted: Tue Aug 01, 2006 1:49 pm
by daedalus__
Tim, you missed the joke.

EDIT: Also, four people asked me for my Resume. :)

Posted: Tue Aug 01, 2006 2:19 pm
by timvw
Daedalus- wrote:Tim, you missed the joke.
After a while the same thing over and over gets boring :P

Half an hour before i saw that post i recieved an e-mail from a collegue that wanted to invite us to his desk because he had some cake and wine for his birthday... The message went like:

Code: Select all

Person steven = new Person();
steven->IniviteCoWorkers();

while (steven->hasCake()) {
  steven->GiveCake();
  steven->DrinkWine();
  steven->TakeNap(new TimeSpan(0, 5, 0));
}
...
<off-topic>
Why do you always add a == TRUE, == FALSE, != FALSE, != TRUE to an expression that already evaluates to a boolean value? As you already experienced, it leads to errors (and to my personal opinion doesn't improve readability)
</off-topic>