Extended dot notation (pick notation) proposal
jason.orendorff at gmail.com
Wed Sep 21 14:40:10 UTC 2016
On Tue, Sep 20, 2016 at 2:38 PM, Bob Myers <rtm at gol.com> wrote:
> People in the real world continue to wonder why they can't
> pick/destructure from objects into objects, instead of just variables.
> This is actually the second such question on SO in the last week.
Well, this not as weighty a consideration as you might think.
Some people on a web site are curious to know if they can reduce 2 lines of
JS code to 1 line. Their shared curiosity may be a coincidence; or it may
be the language's fault. Presume the latter. It doesn't follow that the
answer should be yes. Since all new syntax imposes some mental load on all
language users, the answer should be no unless the benefit is really
dramatic, which I don't think it is here.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss