April 30, 2003

Increments

My life in code...

int leighsAge=30;
int doddsFamilySize=3; //me, debs and Ethan

leighsAge++;

Calendar octoberSeventh = Calendar.newInstance();
octoberSeventh.clear();
calendar.set(2003, 9, 7); //7th October 2003

if ( Calendar.newInstance().after(octoberSeventh) )
{
   doddsFamilySize++;
}

Which is a geeky way to say that today is my birthday, and that my wife and I are expecting another baby in early October.

Posted by ldodds at April 30, 2003 04:29 PM | Feedback? | | TrackBack
Comments

The variable names should be more generic, rather than dealing directly with YOUR family, and your magic numbers are dangerous! They should be abstracted to metadata!!!

In all seriousness, happy birthday and future congratulations!

Posted by: R.J. Lorimer on April 30, 2003 06:38 PM
Comments

Happy birthday and enormous congratulations Leigh! Will we see you at XML Europe?

Posted by: Matt Biddulph on April 30, 2003 08:28 PM
Comments

Thanks Matt, much appreciated.

Unfortunately I'm not going to be able to make it to
XML Europe this year, even though its pretty much
"up the road" this year.

It came down to a cheapie week away with the family or geekdom, and the family won!

Hopefully there'll be some opportunity (RDF/FOAF south-west mafia meetup?) to get together for a beer soon.

Posted by: Leigh Dodds on April 30, 2003 08:41 PM
Comments

how do you know my name? http://www.getfirefox.com , http://www.yahoo.com

Posted by: Keanu Reaves blog on August 3, 2005 04:58 AM
Comments

I would recommend to you to shut... http://www.apple.com , http://www.microsoft.com

Posted by: Brad Pitt blog on August 3, 2005 09:53 AM
Comments

how do you know my name? http://www.apple.com , http://www.getfirefox.com

Posted by: Nicolegrants Kidman blog on August 3, 2005 01:26 PM
-->