[Sugar-devel] Sugar Web, use strict mode?

Manuel Quiñones manuq at laptop.org
Tue Nov 19 10:45:22 EST 2013


https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions_and_function_scope/Strict_mode

Adding "strict mode" in our JavaScript will:

- not silence some errors, throw them instead
- allow us to fix errors that can improve performance
- prohibit some sintax that makes our code more future proof

If we agree, I will add it to all our codebase and see what happens.

-- 
.. manuq ..


More information about the Sugar-devel mailing list