News for hackers. Stuff that matters.
Re:Why Kotlin is my next programming language (2015) by rattray on Saturday June 18, 2016 @08:54PM (#11931355)
> your unfamiliarity with the JVM

Correct!

> a problem with multi-language, multi-compiler projects that none of the major build systems on the JVM really handle admirably

A bummer to hear – though I'm glad it's not just me. I tried using Kotlin with the Play Framework and did not have a great time. The hot-reloading features of Play didn't work with Kotlin at all, even with my attempts to `touch` a Java file whenever my Kotlin file changed (presumably they're recompiling more intelligently than I was).

Perhaps having SomeController.java and SomeController.kt in parallel, where the former imports the latter, and receives a `touch` or similar whenever the Kotlin file changes, might work? Or would you recon such a project to be a fool's errand?

Re:Why Kotlin is my next programming language (2015) by eropple on Saturday June 18, 2016 @10:00PM (#11931521)
Play isn't built for Kotlin and SBT is kind of a tire fire in general. I would suggest something more like Dropwizard for use with non-Scala JVM languages.
Re:Why Kotlin is my next programming language (2015) by EtienneK on Sunday June 19, 2016 @02:07AM (#11931982)
Or Spring Boot, which is fantastic.
Re:Why Kotlin is my next programming language (2015) by eropple on Monday June 20, 2016 @01:16PM (#11939436)
I've never used Spring Boot - feel like plugging it a little? Dropwizard is the de facto in my neck of the woods, but I'm always looking for an improvement.
Re:Why Kotlin is my next programming language (2015) by rattray on Sunday June 19, 2016 @01:10PM (#11933682)
Thanks for the tip! Looks like there's even a starter example: https://github.com/doomspork/kotlin-dropwizard/