As JavaScript has grown in popularity, so has the number and size of applications being built with the language.
But the nature of JavaScript can make it somewhat difficult to easily scale a codebase when compared to compiled languages.
David Yeung has some good thoughts from his experience doing just that. In his article, he discusses:
- The Big Ball of Mud design pattern
- Namespacing
- Modularisation
- Inheritance
- Composition
- Testing
- The DOM
It’s a short article and definitely worth a read.
Speak your mind...