Does using Scala in Android a Good option?
from the CommonsWare Community archivesAt September 1, 2018, 3:58am, hackzcorporation asked:
I’m just curious as i see scala as a very dynamic and advanced language.So, my question is does using Scala on Android brings us any advantages over java ?
We have resources like- http://scala-android.org
At September 1, 2018, 11:07am, mmurphy replied:
Does using Scala in Android a Good option?
IMHO, only if your objective is to demonstrate Scala skills, or if you want to learn Scala on a personal project.
For a more conventional project, with team members that are part of some organization, IMHO the #1 criteria for the programming language is: how easily can we find future team members who can work in that language? On that metric, IMHO Scala has never been able to achieve “critical mass” of interest. Projects would be better served using Kotlin, Java, JavaScript (if building a hybrid app), or C/C++ (NDK, perhaps with a game development framework).
does using Scala on Android brings us any advantages over java ?
Probably, but I would recommend that you compare Scala to Kotlin, not Java. Partly, that is because Kotlin is the long-term direction for Android app development. Partly, that is because Kotlin has many of Scala’s features, and Kotlin is already an officially-supported language.