Re:Eclipse launches new language to cut down Java boilerplat...
by Dn_Ab on Saturday November 05, 2011 @12:01AM
(#3198872)
I agree. I use Scala for a personal Android app. Once you get over the antbuild and proguard hurdle - agree its no walk in the park - its smooth sailing. Scala meshes well with the android libraries and is fast. Although it gets highly wonky if you need to add a library that is not a jar but instead a package.
The major downsides which are super troublesome are that it takes 2 minutes to build each time - even for trivial changes and I have to debug the old school way with messages.
Re:Eclipse launches new language to cut down Java boilerplat...
by marcmarc on Saturday November 05, 2011 @11:11AM
(#3199902)
You can speed up the build time a lot by preinstalling Scala on the phone or emulator. This will allow you to skip the Proguard step. Here's how you do it http://zegoggl.es/2011/07/how-to-preinstall-scala-on-your-an...
It seems like a great gateway drug for Scala.
[1] https://github.com/danielribeiro/HelloScalaOnAndroid
[2] http://news.ycombinator.com/item?id=3198154