Best Practices for Modern Javascript Development
by Lubov Cholakova Source article

Javascript is definitely a very popular language on the web, and every web developer has to deal with it someday. For this article Jean-Baptiste Jung has compiled a non-exhaustive list of good practices that will help you to become a better javascript developer.

  • Use the correct <script> tag
  • Keep your code in an external file
  • Don't wrap code in HTML comments
  • Use a framework
  • Always declare your variables using var
  • Keep your code unobstructive
  • Include your scripts at the bottom of your HTML files
  • Use JSLint
  • Don't use document.write

Lubov Cholakova

Lubov CholakovaLubov has been with DMXzone for 8 years now, contributing to the Content and Sales departments. She is bringing high quality content in the form of daily blog updates, reviews, tutorials, news, newsletters,update emails and extensions' manuals. If you have a product that needs publicity or any other questions about the entire DMXzone community, she is the one you can contact.

See All Postings From Lubov Cholakova >>

Place your comment about Best Practices for Modern Javascript Development

You must me logged in to write a comment

Be the first to place a comment