3 ms·
Typescript as a language is better than "isn't too bad", it's great! I love the syntax for unions and how normal things like "if" will narrow types. But I agre
by losvedir 4y ago
Typescript as a language is better than "isn't too bad", it's great! I love the syntax for unions and how normal things like "if" will narrow types.
But I agree that it's a shame that the JS ecosystem is such a mess. Granted, dealing with it is essentially Typescript's purpose, but I would love for it to be a full fledged language on its own, divorced from JS. How cool would it be if you could write normal backend apps in it and compile them to native code?
I use Deno a bit and pretend, but it's not quite the same.
- smcleod 4y agoI agree, I wish there was more incentive for developers (especially on the front end side!) to not install every package under the sun and instead be a little less "fancy" or aim for satisfying the 90% rather than the 100%.
- k__ 4y agoI wished Flow or ReScript would have won. TypeScript is too C#-ish for my taste. Well, still better than nothing, I guess.
- Huh1337 4y agoMake your linter forbid the class keyword, it's all about how you write it. The language allows both OOP and functional styles.
- pragmatic 4y agoLook at the Typescript repo itself. Very much not like C#. Frameworks like Angular use it very much like c# though.
- k__ 4y agoYes, it's an okay-ish language. Often bette than pure JavaScript, which is also an okay-ish language. So, I think, overall we're better off