Re:Why I Don’t Regret Moving Our Android App to Scala
by kornish on Wednesday July 12, 2017 @08:47PM
(#14757964)
> As it stands, the post feels more like "please don't fire me" than "where's my promotion?".
Couldn't help but notice that sentiment in the passive wording of the title: "don't regret moving" is not exactly a ringing, jubilant endorsement.
Re:Why I Don’t Regret Moving Our Android App to Scala
by Lazare on Wednesday July 12, 2017 @09:23PM
(#14758114)
I got the same vibe. Sort of a "hey, it actually wasn't that big of a mistake".
I didn't get the feeling they'd do it a second time if they had a chance to do it over, knowing that Kotlin was about to get official support. (Or then again, maybe they just really love writing Android code in experimental, unsupported languages! And if so, who am I to judge?)
Re:Why I Don’t Regret Moving Our Android App to Scala
by gregghz on Wednesday July 12, 2017 @09:34PM
(#14758150)
Well we also used Swift way before a "stable" release came out. So maybe we're masochists.
Re:Why I Don’t Regret Moving Our Android App to Scala
by thayne on Thursday July 13, 2017 @12:51PM
(#14762863)
I think a more apropriate title would have been "How we migrated our android app from kotlin to scala." There is a little talk about the benefits of using scala instead of kotlin, but that isn't the bulk of the post. I would be interested to see more of a cost-benefit analysis of the decision to migrate to scala, and the outcome.
The post states "hopefully I will be able to illustrate how Scala can dramatically improve your experience while developing Android applications". This claim isn't addressed in the post at all however. For example, it states "Scala has a pretty decent concurrency primitive in Future" and explains how to use them, but doesn't say what they offer over and above Java futures or Kotlin coroutines. Most of the post is talking about how they migrated their codebase and any compatibility or technical hurdles that were overcame on the way (e.g. the sbt/Gradle mismatch), not about why Scala was a better choice technically or what benefits it offers over Java or Kotlin. There's no mention either of other practical issues such as the large standard library, method counts, compile times and so on.
The addition of a few strong comparisons would be welcomed. As it stands, the post feels more like "please don't fire me" than "where's my promotion?".