The rationale for strict mode

David-Sarah Hopwood david.hopwood at industrial-designers.co.uk
Thu Nov 13 14:59:35 PST 2008


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.
> 
[...]
> Suggested change:
>  - delete the above two sentences.

Four sentences, I meant.

-- 
David-Sarah Hopwood


More information about the Es-discuss mailing list