The brain works in strange ways
Either that or sometimes it just doesn't work.. from bad-ideas-in-our-code selection of the day:
Static constant to represent the SQL string "COUNT(*)".. which in itself while silly (not like we need to centralize that in case the sql changes) isn't necessarily a "what the hell" type of thing.. but when you add that the same class file, written by the same programmer, hard codes the number of results returned by a query.. well, that makes you wonder about their brain patterns, doesn't it?
Comments
Wow... With such a clear lack of foresight, I assume the person who wrote that now has the title of something like Lead Developer or Chief Software Engineer... I mean, seriously, this is on the level of only using two digits for a date.
"Hey, the database size is X now... We don't need to worry about it growing any larger!"
Have you decided whether or not to post that on The Daily WTF ?
Posted by: Jeremy | November 10, 2005 12:31 AM
hello kasia where are yuo from
Posted by: Anonymous | November 17, 2005 05:25 PM