Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Why Google Should Bring Scala to Android

DZone's Guide to

Why Google Should Bring Scala to Android

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

There have been quite a few discussions lately of the idea that Google ought to open Android up to something other than Java. You know, for example:

Well, from Madhukara Phatek in this recent post comes one more plea for an alternative: Scala for Android. First of all, Phatek doesn't see all of these previous alternatives as viable. About Go, for example, he says:

Though Go is getting buzz these days, its not yet ready to take over language like Java... it’s better Google embrace a open language which is well tested and mature rather than going with their own.

As was the case with some of the others, this idea comes following the announcement and adoption of Apple's Swift, and Phatek frames his argument in terms of Swift's benefits over Objective-C. Swift is to Objective-C, Phatek suggests, as Scala is to Java. Beyond that, though, Scala would make for relatively simple transition. For example, Phatek says:

  • Scala would integrate well with existing Java
  • Scala runs on JVM
  • Scala is already well-tested and production ready

However, it's still just a hope and a dream. Phatek isn't suggesting a move to Scala is likely to happen - it just seems like a good idea, both in terms of functionality and practicality.


Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}