Proposal: Modify automatic semicolon insertion in strict mode
Brendan Eich
brendan at mozilla.com
Mon Dec 8 22:09:12 PST 2008
On Dec 8, 2008, at 9:48 PM, David-Sarah Hopwood wrote:
> Why? That would only happen if you added "use strict;" to a program
> fragment
> without testing that the resulting program still parses correctly,
Parses and executes over all paths correctly, you must mean.
> which is
> an obviously silly thing to do. If it fails to parse, *and* no
> programmer
> who can fix it is available, then don't add the "use strict;".
Why impose unnecessary work on someone trying to use strict?
> Alternatively, put the source through a filter that adds the
> semicolons
> automatically, once and for all. What am I missing here?
What filter? Procured from where? At what cost in time and trouble?
What problem are you solving?
/be
More information about the Es-discuss
mailing list