News for hackers. Stuff that matters.
Re:Worst Bug Ever by geon on Monday January 21, 2013 @03:40PM (#5093636)
On my first programming job (2004), I was adding shopping cart functionality to a proprietary CMS written in PHP. For some reason I couldn't get a simple item listing to work. I had spent several hours debugging it before I found the problem.

The CMS had a database query result class with a method named something like "numberOfRecords". It returned the number of records minus one...

I told my boss about this, and his answer was "Yeah I know, but we don't want to fix it because a lot of code depend on that bug."

There are no comments on this comment yet.