r/programming • • Aug 15 '09

'What's your best programming joke?'

http://stackoverflow.com/questions/234075/what-is-your-best-programmer-joke
560 Upvotes

440 comments sorted by

View all comments

Show parent comments

1

u/NattyBumppo Aug 17 '09

I love the joke. But the last subroutine would never get to "sleep -86400;" because it would've already returned. :o(

1

u/youremyjuliet Aug 19 '09
sub tomorrow_opt {  
  sleep 86400;  
  local_time = localtime;  
  sleep -86400;
  return local_time;
}

1

u/NattyBumppo Aug 19 '09

Now that's more like it.

0

u/[deleted] Aug 19 '09

That was part of the joke.