4 ms·
> Is option number 1 "Use JavaScript Carefully" really that hard? Writing larger applications in a team isn't impossible with JavaScript. It's just needlessly
by ahoge 12y ago
> Is option number 1 "Use JavaScript Carefully" really that hard?
Writing larger applications in a team isn't impossible with JavaScript. It's just needlessly difficult.
Well, even if it's just me, after a few hundred lines of JS, I really start to miss proper tooling.
ES6 did at least add some structure and tooling hooks with classes, modules, default parameters, and named parameters (via destructuring). However, it's nowhere near the kind of tooling you get with TypeScript or Dart.
Optional types are really handy. Just add some types to the signatures of your functions and you get massive tooling benefits (and basic documentation).
- tracker1 12y agoI've been using node-style modules for several years now... with simple modules and composition for object structures, I really don't need classes. The ES6/7 stuff does add a lot to the language. I think that async/await/thenables brings JS up to par with most modern languages... proper observable objects will help too. I find that people tend to have a hammer (be it ent-lib for .Net, or any number of other tools) and like to see everything as a nail. When you stop trying to force JS in a class system box, it becomes much nicer to work with.