News for hackers. Stuff that matters.
Re:Kotlin vs. Java – An Android Developer's First Impressions by meddlepal on Wednesday May 03, 2017 @04:00PM (#14259467)
I use Kotlin for services I write. My previous stack was Kotlin + Vert.x but I've ditched Vert.x for Sparkjava more recently... not a fan of the async model.
Re:Kotlin vs. Java – An Android Developer's First Impressions by eip on Wednesday May 03, 2017 @08:06PM (#14261374)
Async is fine but Vert.x's version of it is kind of retarded. Callback hell. Might be better with 3.4 now that it supports Scala and Futures.
Re:Kotlin vs. Java – An Android Developer's First Impressions by meddlepal on Wednesday May 03, 2017 @11:50PM (#14262317)
Yes, I think you're right. The Vert.x model is "weird" to put it politely. Too many callbacks, but also I felt like much of my domain and business code was being "infected" by Vert.x machinery as I tried to make my code async friendly.

It makes a lot of big promises, delivers on many of them early on but as your services grow things... get messier.

Happy enough with Sparkjava right now. I think ultimately though I'm on a slow journey back to just using Dropwizard which still hits the sweet spot for me.