Hacker News new | past | comments | ask | show | jobs | submit login

Sure, but Kotlin is to Java as TypeScript is to JavaScript, which is the point I am making.



That’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.


> 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: