11 ms·
> - recreating basic features that you take for granted in any other tech like isolation, namespacing, primitive stlib features, etc. It's not so bad now. The
by davedx 9y ago
> - recreating basic features that you take for granted in any other tech like isolation, namespacing, primitive stlib features, etc.
It's not so bad now. The language is evolving and gaining these kind of features (modules, standard methods to manipulate data structures). Lodash is just like #include <stdlib>.
> - fight with the various implementations to find some code that will work for most of your customers.
Again this has gotten better over the years. We write vanilla ES5 code with Angular 1.4 and it pretty much just works in every browser. With transpilers it's even better.
> - use tooling to compensate any weakness you can. Remember the most popular projects in JS (coffee, tsx, jsx, babel, webpack, etc) are mostly projects allowing you... to avoid writing JS.
TypeScript and the various babel transforms generally give you a superset of JavaScript, not a different language. JSX lets you write more JavaScript, not less, compared to frameworks that have templating systems.
I'm a bit surprised at these comments if you're writing JavaScript today, for me it's much more accurate of the state of affairs 5-10 years ago.