Thanks. Yes, I should have mentioned the earlier proposal, which I've now
marked as being superceded.

I'm aware the bar is high for syntax additions, as it should be. Some
possible justifications include:

1. The need for the picking feature is demonstrated by the `_.pick` utility
provided by toolbelts such as Underscore. It is also the topic of frequent
questions on Q&A sites like SO.

2. The proposed syntax changes are non-intrusive and would have little to
no impact on the rest of the language AFAICT.

3. The proposal subsumes other proposals for `Array#last` etc. with the
syntax `a.(-1)`, and proposals for "null propagation" with the syntax
`a.b!` etc. Two birds with one stone.

Bob Myers

On Sat, Mar 5, 2016 at 5:24 PM, Isiah Meadows <[email protected]>
wrote:

> 1. Take a look at https://esdiscuss.org/topic/pick-operator.
> 2. Do keep in mind syntax additions tend to have a steep usefulness
> requirement in practice (e.g. Async functions) to make it into the
> language. And most definitely check out
>
> https://esdiscuss.org/topic/the-tragedy-of-the-common-lisp-or-why-large-languages-explode-was-revive-let-blocks
> .
>
> Not saying this is a bad thing to add, but I'm skeptical on how likely
> it is to get accepted.
> Isiah Meadows
> [email protected]
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to