greg.gannicott.co.uk Hallelujah y'all! Let me hear a couple hallelujahs..

20Jul/090

Stan: Hello World!

If my new born son Stan follows in his Dad's footsteps, and assuming Object Orientated Programming will still be of use in 18 years time, he might appreciate this bit of geekery. I'm sure I'm not the first to do it, but as I thought it up without seeing it before, I'm pleased with it :-)

class Stan extends Greg, Becky {
   // Constructor
   function Stan () {
      print "Hello World!";
      print "I was born at... 1247991540";
   }
}

It's already been a huge pleasure getting to know you Stan, can't wait to do more of it :-)

Filed under: Personal, Stan Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.