As we know, JavaScript is a class-less language that requires no specific code structure to work. As a perfectionist that gets goosebumps every time that sees unorganized undocumented messy code (specially if I myself wrote that code!), I've relied on several free resources to learn to keep my JavaScript code clean, readable and organized.
I wanted to share the list of the best ones I found:
- Writing Testable JavaScript (article, by Rebecca Murphey)
- Learning JavaScript Design Patterns (book, by Addy Osmani)
- Using Objects to Organize Your Code (article, in-depth module pattern, by Rebecca Murphey)
And two awesome talks: