3 ms·
If you don't care about JS compatibility, that opens up lots of choices. Many languages compile to JS and interoperate without being constrained by syntax-level
by ptx 4y ago
If you don't care about JS compatibility, that opens up lots of choices. Many languages compile to JS and interoperate without being constrained by syntax-level compatibility. Kotlin [1] is a nice statically typed language, for example.
[1] https://kotlinlang.org/docs/js-overview.html https://kotlinlang.org/docs/js-overview.html
- ajkjk 4y agoTS is way better than Kotlin, imo. At least last I checked. I mean that I don't care about JS compatibility _exactly_. I still want to write JS, just with all the problems... fixed.