Another advantage of that is that you can avoid repetitive code, and develop faster. Sometime happened that me and other developers wrote code for exactly the same thing, but this could be avoided if just we follow the same standards.
On the web you can find many resources about that topic, so for my (and yours) comfort here’s a short list of useful resources.
JS: The Right Way
It’s a project hosted on Github full of resources for writing better code, and you can contribute with your own from Github.
Ti Potrebbe Interessare Anche: