Earlier quoted context omitted.
I don't see what it has to do with relationships. Convince us why Scala would've been a better choice?
I have nothing against Kotlin. It seems to be coming out of nowhere to surpass more "tested" languages for lack of a better way of putting it, but as I'm reading about it I can truly see the appeal. The one thing I'm having trouble figuring out, though, is how much it diverges from Java in terms of inheritance, traits, etc. The verbosity of Java is one thing, but its inheritance system is what made me want to pull my…
Android now supports Kotlin
81–90 of 225 posts
Re: Android now supports Kotlin
#82Earlier quoted context omitted.
Dart is not a JVM Language. It can be compiled to the JavaScript or run in the Dart VM.
The wording was a bit confusing, but I think they meant "Java-like" and "VM-based" as separate things, not that Dart runs on the JVM.
Re: Android now supports Kotlin
#83They're here to stay and they're a joy to use. Jump on the happy wagon and join us!
Re: Android now supports Kotlin
#84Good move. Out with possible null pointers everywhere for no freaking reason at all. It's 2017. Apple did a great job with Swift but launched it when it wasn't mature yet but Kotlin will have JetBrains level of IDE support from the get go so and it's mature already only a luddite would stay with Java.
Apple released Swift early (June 2014) so that it could be used in real programs, and so that developers could provide feedback. You weren't, and still aren't, forced to use it. Although, it seems to have matured enough in 3 years to the point where it's probably the best iOS development language. Kotlin was released in 2011. I bet that if Google had adopted it three years ago, it would have helped accelerate Kotlin…
[0] https://blog.jetbrains.com/kotlin/2016/02/kotlin-1-0-release...
Re: Android now supports Kotlin
#85This, along with recent Kotlin Native news, lends me to believe Google is investigating some alternative platforms for replacing their dependence on Java APIs and removing any possibility of being further hamstrung by Oracle.
This news sounds quite opposite to me. Although adding a new language is always a good news but Kotlin won't solve any problems with Oracle, since it is just another JVM language. This news sounds like Google is going for an easier way instead of ditching Oracle stuff.
Re: Android now supports Kotlin
#86Earlier quoted context omitted.
I don't see what it has to do with relationships. Convince us why Scala would've been a better choice?
I have nothing against Kotlin. It seems to be coming out of nowhere to surpass more "tested" languages for lack of a better way of putting it, but as I'm reading about it I can truly see the appeal. The one thing I'm having trouble figuring out, though, is how much it diverges from Java in terms of inheritance, traits, etc. The verbosity of Java is one thing, but its inheritance system is what made me want to pull my…
After 2 hours with the kotlin koans (short exercises allowing you to learn the language), it was already clear that Kotlin solves most of java's limitations when writing android apps.
higher order functions : so powerful .. at the cost of dex (and I don't really care about dex size), I can get very flexible calls.
nullability backed in the compiler
100 % java interop
data classes
default parameters values ..
etc
IIRC, the larger runtime was what prevented Scala from being interesting on Android. I know that Scaloid has been working on making it more svelte though.
Re: Android now supports Kotlin
#87Earlier quoted context omitted.
I don't see what it has to do with relationships. Convince us why Scala would've been a better choice?
I have nothing against Kotlin. It seems to be coming out of nowhere to surpass more "tested" languages for lack of a better way of putting it, but as I'm reading about it I can truly see the appeal. The one thing I'm having trouble figuring out, though, is how much it diverges from Java in terms of inheritance, traits, etc. The verbosity of Java is one thing, but its inheritance system is what made me want to pull my…
Hey, at least they've got nullable types? That's a big win over Java right there.
Re: Android now supports Kotlin
#88Would be lovely if they officially supported Clojure too.
Re: Android now supports Kotlin
#89Earlier quoted context omitted.
I don't see what it has to do with relationships. Convince us why Scala would've been a better choice?
I have nothing against Kotlin. It seems to be coming out of nowhere to surpass more "tested" languages for lack of a better way of putting it, but as I'm reading about it I can truly see the appeal. The one thing I'm having trouble figuring out, though, is how much it diverges from Java in terms of inheritance, traits, etc. The verbosity of Java is one thing, but its inheritance system is what made me want to pull my…
Also remember that good compatibility with Java is a big priority for Kotlin, so inheritance works very similar to Java and compiles to the same obvious JVM structures.