News for hackers. Stuff that matters.
Re:What real life bad habits has programming given you? by paulgb on Wednesday January 28, 2009 @09:40PM (#455669)
Good point, but you answered your own question: the "walk then rest" algorithm will do it in linear time.
Re:What real life bad habits has programming given you? by tjpick on Wednesday January 28, 2009 @10:10PM (#455718)
null pointer on your drink-bottle instance results in fatal runtime exception.
Re:What real life bad habits has programming given you? by paulgb on Wednesday January 28, 2009 @10:51PM (#455774)
Pun intended?
Re:What real life bad habits has programming given you? by tjpick on Thursday January 29, 2009 @04:11AM (#456091)
da-da-chhhhh. you're quick ;)