Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: "undef" is not NULL and what to do about itby moritz (Cardinal) |
on Feb 21, 2013 at 18:47 UTC ( [id://1019995]=note: print w/replies, xml ) | Need Help?? |
IMHO the only sane way to deal with NULL/undef values is not to allow them by default, and if they are present, force explicit handling of them. Unfortunately the only language I know that gets this right is Haskell (which has its own share of problem).
In Section
Meditations
|
|