Re:Kotlin 1.1: What’s coming in the standard library
by jorgemf on Tuesday January 24, 2017 @09:57PM
(#13478061)
Well, it is broadly used by Android developers. For me Kotlin is above scala just because the tooling support (JetBrains the main developers of kotlin), and I find a big difference when writting kotlin and scala. I feel scala more difficult to read, while kotlin is just a pleasure to read code. Moreover you can mix java and kotlin in the same project without issues.
Why do you think it will be behind scala?
Re:Kotlin 1.1: What’s coming in the standard library
by chinhodado on Tuesday January 24, 2017 @11:44PM
(#13478604)
I don't mean to say it will be behind Scala, I just mean to say that it will end up in the same situation as Scala, a language that was meant to be a "better Java" but could never gain enough traction to take off.
Re:Kotlin 1.1: What’s coming in the standard library
by jorgemf on Wednesday January 25, 2017 @12:05AM
(#13478702)
When I used Scala I never though it would be better than java, just another alternative. But I think kotlin is better than java. I hope it gains traction but not sure about it.
Re:Kotlin 1.1: What’s coming in the standard library
by relics443 on Wednesday January 25, 2017 @12:04AM
(#13478697)
Kotlin has a much smaller learning curve than Scala. I find it to be much more useful than any other language I've tried out. It has shiny, useful features like some of the more dynamic languages do, but it's close enough to Java that I'm comfortable using it.
Re:Kotlin 1.1: What’s coming in the standard library
by parasubcutaneor on Wednesday January 25, 2017 @02:41AM
(#13479521)
Without having tried Kotlin myself, is it in any way compable to Groovy?
Are there any benefits or tradeoffs, based on what you might know about Groovy?
Re:Kotlin 1.1: What’s coming in the standard library
by mike_hearn on Wednesday January 25, 2017 @04:03AM
(#13479882)
Kotlin's design was heavily influenced by Groovy. You can see it in the builder DSLs, the syntax, the fact that Gradle is adding support for Kotlin alongside Gradle, and comments by the Kotlin designers. The big difference of course is that Gradle is dynamically typed by default.
Re:Kotlin 1.1: What’s coming in the standard library
by vorg on Wednesday January 25, 2017 @05:37AM
(#13480291)
> Gradle is adding support for Kotlin alongside Gradle, and comments by the Kotlin designers. The big difference of course is that Gradle is dynamically typed by default.
You've fallen for the trap of mistaking Gradle to be Apache Groovy, perhaps because those 10-line build scripts for Gradle are the only encounter most programmers have with Groovy. Your comment should read "Gradle is adding support for Kotlin alongside Groovy, and comments by the Kotlin designers. The big difference of course is that Groovy is dynamically typed by default."
Re:Kotlin 1.1: What’s coming in the standard library
by mike_hearn on Wednesday January 25, 2017 @07:58AM
(#13481013)
You're right - I know the difference but apparently something got corrupted between brain and keyboard!
Re:Kotlin 1.1: What’s coming in the standard library
by relics443 on Wednesday January 25, 2017 @06:49AM
(#13480631)
It's similar to Groovy, which I've worked with non extensively, but I think it adds a lot more. I've always found development in Groovy to be closer to Ruby or Python, while Kotlin feels more like Java (just better :-)
Unfortunately that is not going to happen for Kotlin, unless it gets adopted by major projects, and by major I mean on the scale of Android.
Java is not going anywhere soon. If anything, Kotlin will become a second Scala.