'void' as a value

Chris-tina Whyte kurisu.whyte at gmail.com
Sun Sep 8 14:13:14 PDT 2013


> In no case does anyone that I've spoken to, on TC39 or anywhere else
> around this planet, want *yet another* bottom type and singleton value a la
> null and undefined. No one. Those who speak Spanish and nearby languages
> tend to say "ĄBasta!" -- I'm not kidding :-|.
>

This.They cause way more (subtle and hard-to-debug) problems than they're
worth, just take a look at NullPointerExceptions in Java and the like.
Nope. Explicitly wrapping in a Maybe/Option type is much better, and ES6's
direction captures the same idea.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130908/0050e486/attachment.html>


More information about the es-discuss mailing list