News for hackers. Stuff that matters.
Re:True, False And Nil Objects In Ruby by mrduncan on Tuesday September 08, 2009 @10:07AM (#810994)
This is a classic case of "just because you can, doesn't mean you should".
Re:True, False And Nil Objects In Ruby by stcredzero on Tuesday September 08, 2009 @10:29AM (#811057)
It's not just that. One should replace conditionals with polymorphism. It's just that, in this case, not enough thought is given to how. Namely -- how can I accomplish this without possibly breaking lots of other things?