> Le 25 août 2016 à 16:05, Alexander Mekhonoshin <invn...@yandex-team.ru> a
> écrit :
>
>
>
> 3. groupped ?.()
> Syntax for the full existential chain case:
>
> .?(a.b.c) // equals with typeof a !== 'undefined' && a.b && a.b.c
>
In other words, `.?(a.b.c)` (or whatever other syntax) is approximately
equivalent to `a?.b?.c`.
The advantage of such a shortcut should be weighted against the burden of
learning yet another syntax. On that subject, I recommend to read:
https://esdiscuss.org/topic/the-tragedy-of-the-common-lisp-or-why-large-languages-explode-was-revive-let-blocks
—Claude
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss