3 ms·
"Can you give me an exam of something that is trivial in another lang, but requires "sailing to Africa and back" in JS?" Packages and imports. First-class enti
by timr 8y ago
"Can you give me an exam of something that is trivial in another lang, but requires "sailing to Africa and back" in JS?"
Packages and imports. First-class entities, built in to every other modern language. A mishmash of different "standards" and proprietary implementations in Javascript. Even K&R-era C had a better solution than Javascript (until ES6, anyway).
And do not tell me that ECMAScript 6 fixes this -- as long as there are multiple implementations in use in legacy code (there are) JS will have to live with a rat's nest of horrors at this incredibly fundamental level (not to mention the fact that ES6 imports aren't yet universally supported!)
- kapv89 8y agoAgree with you on this one. Module systems are kind of a mess in JS land, and from the looks of it, will remain so for a few years. However, from a purely pragmatic point of view, not a deal breaker for early stage companies.