Over a million developers have joined DZone.

Polyglot Programming on the Web

· Java Zone

Learn more about the advantages of moving from a monolithic to microservices architecture.  Brought to you in partnership with IBM.

Whether you like it or not, the web platform has become the dominant client-side technology. This fact is so obvious that even Microsoft and Adobe have abandoned their solutions in favour of the web. And as we’re going to build larger and larger applications in the browser, we need to find ways of doing it in a more productive fashion. I believe languages are a big part of it. And that’s where the Javascript community can learn a little bit from Java.

The Java language hasn’t changed much since 2004. Lambdas, modularity (project jigsaw) haven’t made their way into the platform yet, and probably won’t for a couple more years. The main reason of this stagnation is the constraints the designers of the Java platform have to consider evolving it. Most of them don’t exist when you start from scratch.That’s what happened in the Java space. Groovy, Scala, Clojure are the technologies that have been moving the Java platform forward. Runtime and compile time metaprogramming, macros, STM, different flavours of FP, all this goodness is available for you right now, just pick the right language. It’s worth mentioning that the Java language hasn’t disappeared. There are millions of developers happily using it, and there is nothing wrong with it. The goal is not to get rid of Java, but to provider choice.

The Javascript language won’t evolve, at least not with the rate many of us would like it to. And there is not much we can do about it. Creating new languages targeting Javascript and building communities around them is what we should all think about. That’s where the real innovation will happen. Similarly to Clojure, Scala, and Groovy, Dart, ClojureScript, and CoffeeScript will be the languages where the progress will be made.

From Idea to Application gives you the architecture to quickly build, manage and run a range of applications (web, mobile, big data, new smart devices, etc.) on an open-standard, cloud-based platform. See why developers are using IBM Bluemix. Brought to you in partnership with IBM.


Published at DZone with permission of Victor Savkin, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

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 }}