Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Avoid heavy nesting Make it Javascript Best Practices

149,818 views

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

Published in: Technology
  • Login to see the comments

×