I really don’t understand why Kotlin copied Scala’s syntax when it’s so needlessly complicated for product and sum types. I don’t understand why Scala didn’t follow the path of ML style types when it is such a clear spiritual successor. It really creates an unnecessary impediment to both learning and using the language.
It’s developed by JetBrains, and the fact that these are the people behind a suite of IDEs, such as IntelliJ and ReSharper, really shines through in Kotlin.
So an IDE purveyor made a language that’s impractical to edit without the help of an IDE. Seems right to me.
It seems that one of the best arguments for it is “familiarity”, it compiles to javascript. Wouldn’t you say that Typescript better achieves this goal, given that typescript is a strict superset of javascript?
I saw a comparison of Kotlin and F#/OCaml the other day the amount of difference in syntax noise was laughable.
https://twitter.com/kot_2010/status/862250603078135808/photo/1
I really don’t understand why Kotlin copied Scala’s syntax when it’s so needlessly complicated for product and sum types. I don’t understand why Scala didn’t follow the path of ML style types when it is such a clear spiritual successor. It really creates an unnecessary impediment to both learning and using the language.
From the article:
So an IDE purveyor made a language that’s impractical to edit without the help of an IDE. Seems right to me.
It seems that one of the best arguments for it is “familiarity”, it compiles to javascript. Wouldn’t you say that Typescript better achieves this goal, given that typescript is a strict superset of javascript?
How long does “modern” last? Does that mean I should already plan on moving off Kotlin in a year or two?
Ugh, this trope.
Maybe, but semantics are really quite important so hopefully its semantics can be understood from the get go.
Not a very compelling article, IMO, but it is on Medium so about what you can expect.
I’ve lost the original source so I can’t properly attribute the joke, but:
Ah, so the joke I heard was plagiarized in the first place :) Thanks for the info!