in reply to best way to learn use strict
IMHO though, I think the best way to learn how to "use strict" is to take a program that you have programmed in the past without strict (that breaks when you add "strict") and fix it so it runs under strict, and/or just start using "strict" in anything that will is not just a one time throw away script, before long you will just habitually put "my" (or "our", or fully qualify them.. etc.. ) in front of variables when you declare them, avoid the use of symbolic references, and not use bareword identifiers, etc.
-enlil
|
---|