« Developing AJAX Applications the Easy Way | Main | JavaScript and Namespaces (howto) »

Efficient JavaScript code by UserJS.org

UserJS.org have an excellent article about writing efficient javascript code, its not new but very useful.

The article cover many issues from fast loops, Referencing elements, String matching, Create once, use repeatedly, eval is evil, Avoid running unnecessary code, Timers and their time consuming, Reduce reflow, Assign multiple styles ... lot of interesting small tips that AJAX developers will need to have a look. Of course don't forget to have a copy of the Javascript Sheat Sheet.

Bookmark this article at these sites
Comments
1

I failed a subject in JS way back in college. Not because I was just an idiot but because our professor covered the most complicated but failed to beef our brains with the basics.

Thanks for this article. I was able to appreciate and learn JS on my own. Now, I have something to say to my fellow workers.

Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):