Over a million developers have joined DZone.

Why Google Should Bring Scala to Android

· Java Zone

Learn more about how the Java language, tools and frameworks have been the foundation of countless enterprise systems, brought to you in partnership with Salesforce.

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.

Discover how the Force.com Web Services Connector (WSC) is a code-generation tool and runtime library for use with Force.com Web services, brought to you in partnership with Salesforce.


The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}