4

if(system.date == birthdate)
Age++;
else
Keep_surviving! ;-)

Comments
  • 3
    It worries me that there's no call to keep_surviving! if the birth date conditional is true...
  • 1
    Also, I have this OOP programmer tic that's telling me that I want birthdate to be an attribute of system as well.
  • 1
    @Romulus10 But that would mean the birthdate of the system which I am not referring to! Hence this.
  • 0
    Well if it's my birthday instead of surviving, I'd increment my age and go live a little! @Zaphod65
Add Comment