Live data from Hacker News

Android now supports Kotlin

venturebeat.com

91–100 of 225 posts

Re: Android now supports Kotlin

#92
"To get started with Kotlin, download the Android Studio 3.0 preview, open one of your existing Java files, and then choose “Convert Java File to Kotlin File” in the Code menu."

You do not have to install a preview version of Android Studio, you can install the kotlin plugin in whatever version of AS you're using now. The change in AS 3.0 is simply that it will ship the plugin by default.

Re: Android now supports Kotlin

#93
post #65

Earlier quoted context omitted.

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…

Kotlin was released on 15 February 2016.[0] [0] https://blog.jetbrains.com/kotlin/2016/02/kotlin-1-0-release...

That's the 1.0 release, but it has been in public alpha / beta since 2011 or 2012.

https://blog.jetbrains.com/kotlin/2012/04/kotlin-m1-is-out/

Re: Android now supports Kotlin

#94
post #65

Earlier quoted context omitted.

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…

Kotlin was released on 15 February 2016.[0] [0] https://blog.jetbrains.com/kotlin/2016/02/kotlin-1-0-release...

It went 1.0 last year. It was in development for 5 years, and some people did adopt it for Android development before 1.0

https://en.wikipedia.org/wiki/Kotlin_(programming_language)

Anyway, that's my point. Apple iterated Swift quickly in 3 years, and Swift is a very nice language now. Some sort of support, or even acknowledgement, from Google could have accelerated Kotlin.

Re: Android now supports Kotlin

#95
I'm curious to know, just from a general understanding - How much of the situation changes when Java 9 releases? Will it lead to some features in Kotlin becoming redundant/unnecessary, some other new features open up in Java 9, grass-is-greener situations, etc?

Re: Android now supports Kotlin

#97
post #75
post #54

This, 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.

> since it is just another JVM language

Not for long, they're working on Kotlin Native which will make it completely independent from the JVM and portable to all platforms. Killer.

Re: Android now supports Kotlin

#98
post #96

What does it mean being "supported", given that one already can use Kotlin on Android?

You mean: Kotlin already supports Android (which is true and indeed very nice) This is about: Android now supports Kotlin

I've never thought about it that way, nice perspective

Re: Android now supports Kotlin

#100
post #2

Funny, I was messing around with Kotlin for the first time last night. So far, the language seems well-structured and I really like that one gets all of Java's ecosystem without actually having to write java. (Also, "override fun" just sounds hilarious. Bwaha!) Throw in TornadoFX and Gluon Scene Builder (formerly of Oracle) and you're spinning up high-quality cross-platform GUIs faster than Atom, with a visual editor…

I call Kotlin Android's Swift.
Post reply on HN