On 10/25/2018 07:55 AM, manuelbarzi wrote:
not focussing on aesthetics, but on reduce of bureaucracy, which not by
coincidence it's something fat-arrow functions already provide.
The committee has been swamped with numerous such syntax proposals. While any
single one may be reasonable in isolation, each one adds significant complexity
to the language, and the sum of them is too great (plus multiple proposals try
to grab the same syntax for different purposes).
You will not be able to deprecate `function`, as that's just not web-compatible.
Given the existing two syntaxes for defining functions (function and =>),
creating a third one would just add complexity.
Waldemar
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss