Refutable destructuring

Kevin Smith zenparsing at gmail.com
Fri Aug 16 12:38:10 PDT 2013


> Do you not think that it would be awkward to have the exact same pattern
>> syntax for these two cases (matching and destructuring), but with different
>> semantics?
>>
>>
> Yes, I don't think so.
>

Hmmm... Let me rephrase.  It would be awkward and confusing to have
divergent semantics for the same pattern syntax in destructuring and
matching.

: )


{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130816/21192e2f/attachment.html>


More information about the es-discuss mailing list