Strong Mode Proposal

I have just been looking at https://docs.google.com/document/d/1Qk0qC4s_XNCLemj42FqfsRLp49nDQMZ1y7fwf5YjaI4/view

It looks like a collection of ideas for improving JavaScript that is at least worth considering.

I am interested in what others might think of the proposed list of parts of JavaScript that this new “mode” would no longer allow to be used. Which ones would you want to be able to continue using and why?

Mixed feelings really :slight_smile:

Some of it I like, e.g. flagging exceptions for undeclared variables, restrictions on eval, hoisting not allowed – these foster bad practise and are worth calling out on.

But other bits I don’t like, e.g. not being able to refer to undefined properties, or rely on “wacky” implicit conversions – these can be incredibly handy if used carefully.

And some bits I don’t understand, e.g. what’s wrong with “var” or “delete”?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.