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 :-)