Re:Option and null in dynamic languages
by Dewie on Tuesday December 09, 2014 @12:50PM
(#8724297)
That doesn't seem nice if the map wasn't supposed to be nil (if you assume that failing fast on buggy behaviour is good). But I guess you might want to, on purpose, instantiate and use a map which is nil?
[ Parent
| on HN ]
What's the difference between a nil map and a non-nil but empty map? You asked if the map had a value for your key, and it said no.