3 ms·
It is also great for using with Android/GWT. Scala can be both used with Android[1] and GWT[2], but it is not a walk in the park. It seems like a great gateway
by DanielRibeiro 15y ago
It is also great for using with Android/GWT. Scala can be both used with Android[1] and GWT[2], but it is not a walk in the park.
It seems like a great gateway drug for Scala.
[1] https://github.com/danielribeiro/HelloScalaOnAndroid https://github.com/danielribeiro/HelloScalaOnAndroid
[2] http://news.ycombinator.com/item?id=3198154 http://news.ycombinator.com/item?id=3198154
- Dn_Ab 15y agoI 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.
- marcmarc 15y agoYou 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-android-phone.html http://zegoggl.es/2011/07/how-to-preinstall-scala-on-your-an...