Hacker News new | ask | show | jobs
by mdhb 762 days ago
I don’t know that I’d rush to call Typescript awesome. It’s only awesome sitting next to JavaScript. Compared to say another modern language (I.e Dart or Kotlin) which has proper typing, compilation and didn’t have to take on all the baggage of that level of JS interop it’s actually quite a shit language.

Just using the idea of mixins as a quick example.

Here is how they look in Dart: https://dart.dev/language/mixins

And here’s how they look in Typescript: https://www.typescriptlang.org/docs/handbook/mixins.html