Live data from Hacker News

Kotlin 1.0.5 is here

blog.jetbrains.com

1–10 of 111 posts

Re: Kotlin 1.0.5 is here

#2
Kotlin has been a joy to use. Really happy with it. Our Android app (http://play.google.com/store/apps/details?id=com.eatsa.app) is 100% Kotlin (with a good amount of Java libraries of course).

Some highlights:

- Great type system, with type inference.

- Full Java interop. You can literally copy/paste Java code from Stackoverflow and it's automatically translated to Kotlin. It doesn't feel like 2 different languages. Working with Java libraries doesn't feel awkward or foreign, like in many other JVM languages.

- Beautiful syntax that allows to construct some pretty advanced DSL, yet because it's statically typed the IDE can always resolve the DSL constructs and take you "under the hood" to the actual code that's going to be executed. This is in contrast to languages such as Ruby where most of the time when you encounter a DSL construct there's no easy way to understand what's going on.

Re: Kotlin 1.0.5 is here

#3

Kotlin has been a joy to use. Really happy with it. Our Android app ( http://play.google.com/store/apps/details?id=com.eatsa.app ) is 100% Kotlin (with a good amount of Java libraries of course). Some highlights: - Great type system, with type inference. - Full Java interop. You can literally copy/paste Java code from Stackoverflow and it's automatically translated to Kotlin. It doesn't feel like 2 different language…

Even though I'll happily claim to being all aboard the Elixir train, I've looked at Kotlin due to so many of my Java friends talking about it. I really like everything I've seen from it.

If/when I finally need to get around to learning to make an Android app it's definitely the first place I'll look.

Re: Kotlin 1.0.5 is here

#5
I have became a 100% Kotlin convert. Every single project I work on now is using Kotlin.

I have also found that if you are using LibGDX Java game framework, it's very trivial to convert it to Kotlin. I have been doing that pretty extensively and it has been very pleasant. Feel free to check my GH for some examples. Most notably, the Bayesian Classifier.

Also be sure to check out the Kotlin slack room. It is filled with a bunch of great and active people.

But most importantly, just go try it. If you come from Java and are hesitant to leave given all the nice libraries available in Java, Kotlin is for you.

Re: Kotlin 1.0.5 is here

#7
Saw this pop up in my IDE this morning, excited to upgrade. The auto-for-loop-refactoring is interesting. I've found I never use for-loops in Kotlin - between the abundance of iterator methods and concise trailing-closure syntax, it always ends up being more concisely expressed as collection.forEach { ...body... }. Seems like the language may be going that way too; I wonder if we'll eventually see the for-loop start to fall out of use in modern languages.

Re: Kotlin 1.0.5 is here

#8

Kotlin has been a joy to use. Really happy with it. Our Android app ( http://play.google.com/store/apps/details?id=com.eatsa.app ) is 100% Kotlin (with a good amount of Java libraries of course). Some highlights: - Great type system, with type inference. - Full Java interop. You can literally copy/paste Java code from Stackoverflow and it's automatically translated to Kotlin. It doesn't feel like 2 different language…

My first thought was, a post to promote an app. But then, realize it's Eatsa so it probably doesn't need any promotion.

What I like to know is the following:

What are some of the challenging issues of using Kotlin?

Did you start from Kotlin or migrated from java to Kotlin?

What drove the decision to use Kotlin in such a visible app?

What are the top 3 - 5 improvements or things you want to see?

Thanks

Re: Kotlin 1.0.5 is here

#9

I have became a 100% Kotlin convert. Every single project I work on now is using Kotlin. I have also found that if you are using LibGDX Java game framework, it's very trivial to convert it to Kotlin. I have been doing that pretty extensively and it has been very pleasant. Feel free to check my GH for some examples. Most notably, the Bayesian Classifier. Also be sure to check out the Kotlin slack room. It is filled wi…

On the topic of using the JVM to make games, do you find yourself using the trick of not allocating any new objects (wither from Java or Kotlin) within the game loop? I've heard of that trick, and am considering using it because GC pauses are the main reason I'm considering avoiding the JVM for games.

Re: Kotlin 1.0.5 is here

#10

Kotlin is great and we're using at in the backend at Datawire.io. Also we're hiring! Check us out if you're a backend JVM/Kotlin developer and are in the Boston, MA area! https://www.datawire.io/careers/

Do you use any specific Kotlin (or other JVM lang) web framework for your backend, or did you roll your own?
Post reply on HN