2 ms·
I had exactly the same feeling when I tried to write TypeScript - in theory it does everything a modern typed language does, it should be easy to use, right? Af
by lmm 5y ago
I had exactly the same feeling when I tried to write TypeScript - in theory it does everything a modern typed language does, it should be easy to use, right? After a week of struggling I gave in and made an actual effort to set up Scala.js instead - and it worked first time, the IDE integration was so much better (even though notionally it sounds like TS should be just as good), and it was just such a relief to actually be able to use those few missing pieces (good nominal types, proper sum types that aren't just inclusive unions, ...) again.