The rationale for strict mode

Brendan Eich brendan at mozilla.com
Fri Nov 14 13:07:36 PST 2008


On Nov 13, 2008, at 2:53 PM, David-Sarah Hopwood wrote:

> Section 4 of the Kona draft says:
>
> # [...] A scripting language is intended for use by both professional
> # and nonprofessional programmers. To accommodate non-professional
> # programmers, some aspects of the language are defined to be tolerant
> # of programmer mistakes. However, such tolerance can easily result in
> # programs containing undiscovered errors that professional  
> programmers
> # would wish to discover and correct. To facilitate such error  
> detection
> # script can be explicitly declared to use a "strict" variant of the
> # full ECMAScript language that provides enhanced error detection as  
> well.

I agree this should all be removed. It's neither accurate history nor  
sound rationale.

/be


More information about the Es-discuss mailing list