Live data from Hacker News

Kotlin, the Swift of Android

blog.gouline.net

111–114 of 114 posts

Re: Kotlin, the Swift of Android

#112

Swift has algebraic data types and pattern matching, this doesn't. It just seems to be Java with a paintjob and some bells and whistles tacked on. I don't see the point of such a timid new language.

Ceylon does better in this regard [1]. Ceylon and Kotlin share some features and aesthetics but Ceylon provides a lot more power over java8 than a nicer syntax for lambdas, e.g. algebraic types. I'm also excited about Ceylon's module system [2].

1: http://ceylon-lang.org/documentation/1.0/faq/language-design... 2: http://ceylon-lang.org/blog/2013/04/11/about-modules/

Re: Kotlin, the Swift of Android

#113
post #64
post #38

Earlier quoted context omitted.

Kotlin has stuff that's unlikely to appear in Java, such as reified generics - Java has already chosen type erasure generics instead. I wouldn't bet a penny that they ever change this approach if they didn't go with it from the start.

In fact Kotlin doesn't have reified generics. This idea was planned in the beginning and was reflected in the old docs but abandoned later. I believe there's no reference to reified generics on the new web site anymore.

Huh, you're right! That's a pity

Re: Kotlin, the Swift of Android

#114
post #37

Earlier quoted context omitted.

Have you looked at the usage guides for the various plugins [1][2]? [1] https://github.com/jberkel/android-plugin/wiki/getting-start... [2] https://github.com/pfn/android-sdk-plugin#usage

I can't remember anymore what I tried and what I didn't :) At the end, I mostly tried not to bang my head against the wall. Anyway, even your second link stresses: "The primary IDE recommendation is IntelliJ, not Android Studio nor Eclipse". My IDE of choice is Android Studio, and it not being particularly recommended is a red light to me already. Maybe I'm just traumatized. I'm surely lazy. I wish Google made Scala…

> Anyway, even your second link stresses: "The primary IDE recommendation is IntelliJ, not Android Studio nor Eclipse". My IDE of choice is Android Studio, and it not being particularly recommended is a red light to me already. Maybe I'm just traumatized.

Seriously? Android Studio is just a stripped down IDEA with an extra plugin anyway. If you already use AS, there is zero reason not to just import your config into IDEA instead.

Post reply on HN