Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> "Was there a particular project that got you started?"

I used Scala some on my own for the sake of learning, but became much more interested in it when I realized it was a viable alternative[1] to using Java for everything on Android. Especially when I just want to do what amounts to scripting at times. Plus, it's much easier/natural to run system commands for root related stuff on Android with Scala[2] than it is with Java[3]. Scala also has a superior SQL framework[4] to the cumbersome one that is built into Android for SQLite that requires a ton of boilerplate to actually make useful (especially if you wish to do asynchronous sql calls).

Using Async/Await[5] and Akka[6] are also great for mobile development when you want an alternative to the approaches built into android like AsyncTask and Handlers.

[1] https://github.com/yareally/android-scala-intellij-no-sbt-pl...

[2] http://alvinalexander.com/scala/scala-execute-exec-external-...

[3] http://www.rgagnon.com/javadetails/java-0014.html

[4] http://slick.typesafe.com/

[5] http://docs.scala-lang.org/sips/pending/async.html

[6] I know there's a Java version of Akka, but it's not quite the same as using the Scala one.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: