A bit confused by B.3.2 - Web Legacy Compatibility for Block-Level Function Declarations

Brendan Eich brendan at mozilla.org
Wed Jun 4 12:17:26 PDT 2014

Andreas Rossberg wrote:
> On 4 June 2014 00:12, John Lenz<concavelenz at gmail.com>  wrote:
>> >  No I intentionally used "let".  This is not legacy code (I shouldn't have
>> >  use the word "existing") but new "sloppy" mode code that would like the code
>> >  to be block scoped.
> Why would you want to write new sloppy mode code, though? Honest question.

Realistically, you should consider the larger question, why will new 
sloppy-mode code be written? The answer is obvious: it's the default mode.

But there's still a fair amount of hostility to "use strict", based on 
folklore about deoptimization (one reason), but also based on other 
arguments. One that came up on twitter recently:



More information about the es-discuss mailing list