Re:Don't overload #nil? in Ruby
by sdevlin on Thursday November 10, 2011 @08:51AM
(#3220012)
This is something that's nice about ML-family languages. Data is not "nullable" by default. If you want to introduce that possibility, you need to wrap it in some form of "option" type - and you're forced to deal with the consequences of that explicitly.
[ Parent
| on HN ]
There are no comments on this comment yet.