Keep JavaScript simple? It depends on where and when
Keep JavaScript simple. Or rather, forget about object-oriented constructs, forget
about extra libraries, and write simple code. That’s Peter-Paul Koch’s advice in
Keep JavaScript Simple (via Sova v síti’s Why Avoid JavaScript Libraries?).
It reads beautifully, but there’s a big caveat. It depends on how
you look at the problem. If you think of the web as a place to build applications,
libraries, objects, and more advanced programming techniques certainly
have their place. They make code more flexible and easier to
reuse, share and modify. Of course, it always depends on how you tackle the particular problem.
If you make one side of the case, you have to acknowledge the other, and I missed that in the article.
Related articles
Related CZ Podcast episodes
- #217 · Ivo Lukačovič
On Windy, JavaScript and building companies. · Czech audio
- #3 · Java 6 SE, Vývoj webových aplikací
Dagi and Filemon discuss Java 6 and web application frameworks. · Czech audio