Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

return(true);


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);
}

About Dougal Campbell

Dougal is a web developer, and a “Developer Emeritus” for the WordPress platform. When he’s not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.

This entry was posted in Family, Fun, Holidays, Personal, Work and tagged , . Bookmark the permalink.

20 Responses to return(true);

  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. Pingback: FUN » Blog Archive » are you a geek too?

  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. Pingback: More geek humour : Losing it[1]

  9. CountZero says:

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

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

  11. aJ says:

    Lmao@ Jay Reding

    I’m a geek.. I actually enjoyed the joke 😀

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

  13. Pingback: Online » Humor Geek

  14. Pingback: return(true); at Some Fool

  15. Pingback: Chistes Informaticos » Blog Archive » ¿Qué vas a hacer hoy?

  16. Pingback: Jay’s Blogs » Blog Archive » Geek Humor

  17. Pingback: Geek-Humor at Anarchieblog

  18. Lol. Spent 3 minutes trying to understand the formula.

Leave a Reply

%d bloggers like this: