3 ms·
Yes but it's reasonable that they didn't. For quick hacky scripts you really want a lightweight syntax that supports interactive REPL exploration. Kotlin is the
by mike_hearn 2y ago
Yes but it's reasonable that they didn't. For quick hacky scripts you really want a lightweight syntax that supports interactive REPL exploration. Kotlin is the first language that manages to combine a strict static type system with a Python-weight syntax, and there's a REPL too although I don't think it gets much use. These days notebooks are a better replacement for REPLs anyway when doing data analysis, but Kotlin only got support for such features very recently.
- hocuspocus 2y agoKotlin isn't the first language offering any of these features, not even remotely. Even if you look only at the JVM: Scala is much older.
- binkHN 2y agoI think the point is Kotlin incorporated great stuff from a few languages, Scala being one of them.
- hocuspocus 2y ago... which is the exact opposite of being "the first".
- mike_hearn 2y agoScala isn't "python weight" as it's much keener on obscure operators and other syntax sugar than Kotlin or Python.
- hocuspocus 2y agoWhat are the obscure methods in the standard library? Kotlin has grown into a much quirkier language overall, its grammar is significantly bigger than that of Scala.
- sn9 2y agoHaskell and SML are even older.