Kotlin – programming language targeting the JVM and JavaScript – M10 is out (blog.jetbrains.com) 17 points by orangy 11y ago ↗ HN
[–] kornakiewicz 11y ago ↗ For anyone who used: how/where it is better/worse comparing to other "new" JVM languages (Scala, Clojure, Groovy)? [–] nskvortsov 11y ago ↗ Kotlin doc has short feature comparison with scala: http://kotlinlang.org/docs/reference/comparison-to-scala.htm...In general, "If you are happy with Scala, you probably don't need Kotlin." [–] frowaway001 11y ago ↗ Which is kind of funny, because they are still playing catch-up with Scala.(That's perfectly fine on its own, but doing the usual Scala-bashing at the same time as copying most of the language varbatim doesn't make the Kotlin team look any better.) [–] vorg 11y ago ↗ They've stated their decision not to copy certain features such as rampant operator overloading. Is this what you mean by "Scala-bashing"? [–] frowaway001 11y ago ↗ No. Scala has neither operator overloading nor any kind of rampant form of it. [–] vorg 11y ago ↗ In Scala you can define stuff like <*/+-> to mean anything you want. Are you perhaps arguing over my choice of words to describe this phenomena? [–] frowaway001 11y ago ↗ Yes. It's neither an operator nor are you overloading anything.The whole point is that everything is just a bog-standard method and infix notation is a orthogonal notion, separate from a method's name. [–] vorg 11y ago ↗ Better to compare it to other "in use" JVM languages (Java, Scala, Clojure, Nashorn).
[–] nskvortsov 11y ago ↗ Kotlin doc has short feature comparison with scala: http://kotlinlang.org/docs/reference/comparison-to-scala.htm...In general, "If you are happy with Scala, you probably don't need Kotlin." [–] frowaway001 11y ago ↗ Which is kind of funny, because they are still playing catch-up with Scala.(That's perfectly fine on its own, but doing the usual Scala-bashing at the same time as copying most of the language varbatim doesn't make the Kotlin team look any better.) [–] vorg 11y ago ↗ They've stated their decision not to copy certain features such as rampant operator overloading. Is this what you mean by "Scala-bashing"? [–] frowaway001 11y ago ↗ No. Scala has neither operator overloading nor any kind of rampant form of it. [–] vorg 11y ago ↗ In Scala you can define stuff like <*/+-> to mean anything you want. Are you perhaps arguing over my choice of words to describe this phenomena? [–] frowaway001 11y ago ↗ Yes. It's neither an operator nor are you overloading anything.The whole point is that everything is just a bog-standard method and infix notation is a orthogonal notion, separate from a method's name.
[–] frowaway001 11y ago ↗ Which is kind of funny, because they are still playing catch-up with Scala.(That's perfectly fine on its own, but doing the usual Scala-bashing at the same time as copying most of the language varbatim doesn't make the Kotlin team look any better.) [–] vorg 11y ago ↗ They've stated their decision not to copy certain features such as rampant operator overloading. Is this what you mean by "Scala-bashing"? [–] frowaway001 11y ago ↗ No. Scala has neither operator overloading nor any kind of rampant form of it. [–] vorg 11y ago ↗ In Scala you can define stuff like <*/+-> to mean anything you want. Are you perhaps arguing over my choice of words to describe this phenomena? [–] frowaway001 11y ago ↗ Yes. It's neither an operator nor are you overloading anything.The whole point is that everything is just a bog-standard method and infix notation is a orthogonal notion, separate from a method's name.
[–] vorg 11y ago ↗ They've stated their decision not to copy certain features such as rampant operator overloading. Is this what you mean by "Scala-bashing"? [–] frowaway001 11y ago ↗ No. Scala has neither operator overloading nor any kind of rampant form of it. [–] vorg 11y ago ↗ In Scala you can define stuff like <*/+-> to mean anything you want. Are you perhaps arguing over my choice of words to describe this phenomena? [–] frowaway001 11y ago ↗ Yes. It's neither an operator nor are you overloading anything.The whole point is that everything is just a bog-standard method and infix notation is a orthogonal notion, separate from a method's name.
[–] frowaway001 11y ago ↗ No. Scala has neither operator overloading nor any kind of rampant form of it. [–] vorg 11y ago ↗ In Scala you can define stuff like <*/+-> to mean anything you want. Are you perhaps arguing over my choice of words to describe this phenomena? [–] frowaway001 11y ago ↗ Yes. It's neither an operator nor are you overloading anything.The whole point is that everything is just a bog-standard method and infix notation is a orthogonal notion, separate from a method's name.
[–] vorg 11y ago ↗ In Scala you can define stuff like <*/+-> to mean anything you want. Are you perhaps arguing over my choice of words to describe this phenomena? [–] frowaway001 11y ago ↗ Yes. It's neither an operator nor are you overloading anything.The whole point is that everything is just a bog-standard method and infix notation is a orthogonal notion, separate from a method's name.
[–] frowaway001 11y ago ↗ Yes. It's neither an operator nor are you overloading anything.The whole point is that everything is just a bog-standard method and infix notation is a orthogonal notion, separate from a method's name.
[–] vorg 11y ago ↗ Better to compare it to other "in use" JVM languages (Java, Scala, Clojure, Nashorn).
9 comments
[ 3.3 ms ] story [ 30.2 ms ] threadIn general, "If you are happy with Scala, you probably don't need Kotlin."
(That's perfectly fine on its own, but doing the usual Scala-bashing at the same time as copying most of the language varbatim doesn't make the Kotlin team look any better.)
The whole point is that everything is just a bog-standard method and infix notation is a orthogonal notion, separate from a method's name.