Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Published on
Avoid heavy nesting
Make it understandable
Optimize loops
Avoid globals
Keep DOM access to a
Stick to a strict coding style
minimum
Comment as much as needed
Don't yield to browser whims
but not more
Don't trust any data
Avoid mixing with other
technologies
Add functionality with
JavaScript, not content
Use shortcut notations
Build on the shoulders of
Modularize
giants
Enhance progressively
Development code is not live
Allow for configuration and code
translation
Login to see the comments