return(true);

Stumble It!

function do_stuff() {
  if (in_array($date, $holidays) && $vacation == true) {
    travel('away');
    visit_family();
    $gifts->exchange();
    eat();
    travel('home');
  }

  if ($new_year == true) {
    eat() && drink();
    $weight++;
    $sleep = false;
  }

  $slack = false;
  $resolve++;

  $work->resume();

  return(true);
}
Stumble It!

19 Comments

  1. logtar says:

    Yes, Ladies and Gentleman he is one of us. Welcome to our GeekDom.

  2. Kafkaesquí says:

    For eat() you forgot to set the $diet argument to 0.

  3. Dougal says:

    Kafkaesquí: the $diet flag was definitely set to false. Trust me. :)

    However, we’ve finally done some garbage collection on the $leftovers array, and reset the $diet flag to true.

  4. Jay Reding says:

    I also found a bug - when calling the drink() method too many times with the $drink_type flag set to “alcoholic” you generate some interesting memory leaks… :)

  5. [...] i’m not a computer geek, and even though i quit college cuz i didn’t wanna be a gay software engineer who told jokes like this i can still appreciate them and sometimes i can laugh at the humor. [...]

  6. jim says:

    this.chuckle();

  7. Teli says:

    Hmmm…seems like a dream I had last year.

    Thankfully I’ve ceased dreaming in PHP/CSS coding (at least for now, and I think in part due to reading ‘normal’ books).

  8. [...] As fine an example of geek humour as I’ve ever seen. From Dougal Campbell’s Geek Ramblings: return(true);. [...]

  9. CountZero says:

    never forget do set some do_nothing()-loops from time to time, otherwise your CPU will overheat mandatorily! :D

  10. Thank god my geekdom is not THAT geek-y :P

  11. aJ says:

    Lmao@ Jay Reding

    I’m a geek.. I actually enjoyed the joke :-D

  12. I enjoyed this, but couldn’t possibly have written it. Does that make me more of a wannageek?

  13. [...] Vía | Dougal Campbell [...]

  14. [...] Now, that is what you call coding. [...]

  15. [...] return(true); } Vía | Dougal Campbell [...]

  16. [...] Now and then, though, you get time to do some aimless wandering on the web, and I ran across this geeky holiday humor piece that computer programmers will enjoy. [...]

  17. [...] lachen (aber ich lachen ja auch über jeden scheiß…). Beim Blogs surfen bin ich auf das hier gestossen. Ich glaube, man muss ein bisschen PHP oder so was kenne, um es wirklich witzig zu finden (kann [...]