News for hackers. Stuff that matters.
Re:What real life bad habits has programming given you? by lallysingh on Wednesday January 28, 2009 @02:23PM (#454270)
I keep a lot of things sorted. For example, my wallet's money is always sorted.

With multiple denominations of bills, the insertions aren't O(1) when I'm in line if you know what I mean.

Re:What real life bad habits has programming given you? by Timothee on Wednesday January 28, 2009 @03:26PM (#454393)
I always do that too, but I never really thought that anybody could NOT do that :)
Re:What real life bad habits has programming given you? by geedee77 on Thursday January 29, 2009 @04:51AM (#456124)
I do this all the time - all bills have to be the same orientation and in order of smallest to largest value. If I take a few out of the ATM I'll stand there sorting them for a few seconds annoying the people queueing behind!
Re:What real life bad habits has programming given you? by Devilboy on Wednesday January 28, 2009 @05:38PM (#455328)
I perform insertions of multiple denominations by pre-sorting the new bills and then just merge with wallet bills.