3 ms·
Sure, but Kotlin is to Java as TypeScript is to JavaScript, which is the point I am making.
by sgammon 2y ago
Sure, but Kotlin is to Java as TypeScript is to JavaScript, which is the point I am making.
- wiseowise 2y agoThat’s not even remotely true. TypeScript is a direct superset of JavaScript. Any valid JS is a valid TypeScript. If Kotlin is what TS to JS, then so is Groovy, Scala, Clojure and other JVM languages.
- sgammon 2y ago> TypeScript is a direct superset of JavaScript. Any valid JS is a valid TypeScript. Kotlin on JVM is a direct superset of Java on JVM. Any valid Java is also valid Kotlin at the bytecode layer. > If Kotlin is what TS to JS, then so is Groovy, Scala, Clojure and other JVM languages. Correct