Some hints to improve writing of JavaScript code
<p>The basic idea for writing good code is that the code must be readable, well-commented and documented.</p>

<p>Other basic facts for writing good code regarding all the program languages are structuring the code in directories and files and indentation of course.</p>

<p>In the case of javascript the things could be more complicated, 
because the language allows you to use different style to accomplish similar task.</p>

<p>For example there are three different ways to define a JavaScript class.</p>

<p>Said that, which are the best resource (books/sites) or suggestion for writing good code (library) in javascript?</p>
