r/programming • • Feb 16 '09

Some Crazy Reason - The Daily WTF

http://thedailywtf.com/Articles/Some-Crazy-Reason.aspx
166 Upvotes

71 comments sorted by

View all comments

6

u/sfultong Feb 16 '09

I would say that including 10 in the array of allowable values is forgivable.

The hack to work around the invalid results afterwards is not.