4 ms·
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
by mdhb 2y 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 https://dart.dev/language/mixins
And here’s how they look in Typescript: https://www.typescriptlang.org/docs/handbook/mixins.html https://www.typescriptlang.org/docs/handbook/mixins.html