kaizhu256 at gmail.com
Sun Nov 3 00:06:50 UTC 2019
rollup/minification into a single dist-file. removing curly braces (just
like asi) makes that task more difficult.
this is also why esm-import-statements were a terrible idea. ppl like me
would argue frontend-programs (which are mostly non-reusable anyways)
should be written as single dist-files from the start rather than as
modules -- and why python-programmers make terrible [frontend/ux]
On Sun, Nov 3, 2019, 04:48 Jordan Harband <ljharb at gmail.com> wrote:
> My preference would be to make them required in the places they're
> currently optional :-)
> Optional curly braces have led to many bugs, not just in JS (the "goto
> fail" SSL bug, for example) - why is this risk worth making it easier to
> write code on a whiteboard, where it doesn't need to be valid anyways?
> On Sat, Nov 2, 2019 at 12:39 PM Bergi <a.d.bergi at web.de> wrote:
>> Hello Ed!
>> language like python dominates because of it's simplicity in writing. This
>> You seem to not only want to make block syntax optional, but rather make
>> whitespace indentation significant. You might want to have a look at
>> CoffeeScript <http://coffeescript.org/#language> which is a
>> compile-to-JS language that uses this concept. Its function syntax is a
>> bit different from what you imagined though, most importantly it doesn't
>> offer any declarations.
>> kind regards,
>> es-discuss mailing list
>> es-discuss at mozilla.org
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss