Keep It Simple, Stupid | |
PerlMonks |
Re^2: "undef" is not NULL and what to do about itby Ovid (Cardinal) |
on Feb 22, 2013 at 20:09 UTC ( [id://1020219]=note: print w/replies, xml ) | Need Help?? |
Ah, bugger. I should have been more clear. You're absolutely right that it's very unclear what a given NULL should mean. What I meant was that the behavior of NULL is very clear and predictable, regardless of meaning. There are rare cases where you get a false negative, but unlike undef, you generally don't get a false positive. That's a trade-off I prefer, though I can see that many others don't.
In Section
Meditations
|
|