17 ms·
Seems very similar https://kotlinlang.org/docs/kotlin-tour-hello-world.html https://kotlinlang.org/docs/kotlin-tour-hello-world.html although I haven't ever use
by mdaniel 2y ago
Seems very similar https://kotlinlang.org/docs/kotlin-tour-hello-world.html https://kotlinlang.org/docs/kotlin-tour-hello-world.html although I haven't ever used Kotlin like a "script replacement" (e.g. https://kotlinlang.org/docs/run-code-snippets.html#command-line-ki-shell https://kotlinlang.org/docs/run-code-snippets.html#command-l... ) to compare and contrast
Overall, I think Kotlin is a vastly superior language to Java and spanks Scala in discoverability and legibility (less magick moar bettar, IMHO)
- norir 2y agoI've abandoned the jvm, but I found Scala much better designed than Kotlin. Things in Kotlin felt consistently ad hoc and I would frequently run into weird special casing whereas Scala actually had general principles that could be applied to more use cases. Kotlin on the other hand had better IDE support in intellij for obvious reasons. That was not nearly compelling enough for me.
- therealdrag0 2y agoWhat’d you switch to from JVM?