News for hackers. Stuff that matters.
Re:Don't overload #nil? in Ruby by Confusion on Thursday November 10, 2011 @03:05AM (#3219376)
I fully agree that those sane defaults indeed aren't right for representing false or nil. What I'm arguing is rather the reverse: nil is often initially used as an (insane?) default and that is later changed without updating all related checks (because they don't stick out and demand attention, which makes them easy to overlook or 'overthink'), which causes bugs.

There are no comments on this comment yet.