In 2006, when Neal Ford coined or popularised the term polyglot programming, it seemed to gain some popularity.
However, in the past few years, the trend seems to have gone towards using as few languages as possible.
In Java you could use GWT or Android on the client and Hibernate on the server and not see either JavaScript or SQL.
With Node.js, JavaScript becomes the common language. Fantom and Clojure (via ClojureScript) can also compile to JavaScript.
Was polyglottism ever a good way to build an application? Is this just a pendulum swing or rather the result of more powerful tools?
Moandji
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to java...@googlegroups.com.
> To unsubscribe from this group, send email to
> javaposse+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
> In 2006, when Neal Ford coined or popularised the term polyglot
> programming, it seemed to gain some popularity.
>
> However, in the past few years, the trend seems to have gone towards
> using
> as few languages as possible.
I don't know whether it was a passing fancy...
>
> In Java you could use GWT or Android on the client and Hibernate on the
> server and not see either JavaScript or SQL.
... but you have JPAQL. I'd say that you can only avoid it in simpler
cases.
> With Node.js, JavaScript becomes the common language. Fantom and Clojure
> (via ClojureScript) can also compile to JavaScript.
Compiling to JavaScript just doesn't mean you're noy polyglot. In this
case JS serves as bytecode.
>
> Was polyglottism ever a good way to build an application? Is this just a
> pendulum swing or rather the result of more powerful tools?
Actually we have created an ecosystem where it often happens that a rock
star extracts a new concept from his bag and we have some "wow" effect,
and it seems that from now on everything must be done in that way.
Fortunately, the effect sooner or later vanishes, but the good idea
remains. For what concerns me, I don't feel compelled to be polyglot. I'm
just fine knowing that I can have multiple weapons to do something and I
can pick the best fitting if I want.
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
fabrizio...@tidalwave.it
http://tidalwave.it - http://fabriziogiudici.it
I think the solution is not to standardise on one language, although
that may help in certain cases, but to make parts small enough and
their inputs and outputs well-understood enough that not understanding
the code is not a disaster as the item can be rewritten without too
much drama.
In London
we're seeing increased use of multiple languages on the JVM for a
single project, e.g. Java/Scala or Java/Clojure
Mainly performance needs or a particular language feature that's
compelling for the problem domain (e.g. Statistical analysis with
Clojure/Incanter, immutable data structure modelling in Scala etc).
Often it ties into an existing core of Java (domain logic).
We advise people to go through the sorts of Ola Bini pyramid analysis
that we outlined in Java Magazine:
http://www.oraclejavamagazine-digital.com/javamagazine/20111112#pg51
Cheers,
Martijn
I'm not sure if this is common in other industries but at any one time
we have people developing software commercially:
1. Writing COBOL against mainframes setup in the 70/80's.
2. Writing and maintaining EJB 2.x apps.
3. Various versions of the JVM
4. The latest JVM languages
My point is a new way of working becomes possible in 2006. It may not
actually reach the average development workshop (if at all) for many,
many years.
My last project used Java 5, JSPs and MySQL. A bit long in the tooth
you could argue (and I did!).
My new project is the more cutting edge - Java 6(!), MongoDB and the
JVM layer - Java is ok but Groovy is preferred (we use Grails).
I am really impressed by Groovy. It really allows you to take your
time migrating to its syntax, reducing the initial load and
complexity. Ruby and Scala feel like to big a jump.
I think polyglot programming will only get bigger and more popular,
especially as the tooling (IDEs and cross compilers) become better.
Rakesh
On 21 January 2012 13:31, Moandji Ezana <mwa...@gmail.com> wrote:
My new project is the more cutting edge - Java 6(!), MongoDB and the
JVM layer - Java is ok but Groovy is preferred (we use Grails).
I think polyglot programming will only get bigger and more popular,
especially as the tooling (IDEs and cross compilers) become better.
you've taken it to another level!!!
If what you say is true, I should ditch the JVM and use Node.js
because my data is JSon in MongoDb! Thats not how decisions get made
corporately.
The common, default situation would be to use Java to talk to MongoDb.
What I'm saying is that by using Groovy, you can be more productive
and have a shallower learning curve. The issue isn't that the data is
Json.
Its deciding that Java, alone, is not the general purpose language to
use always in an app.
Cheers
Rakesh
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/javaposse/-/Ot0nNYxMyLYJ.
you've taken it to another level!!!
If what you say is true, I should ditch the JVM and use Node.js
because my data is JSon in MongoDb! Thats not how decisions get made
corporately.
Its deciding that Java, alone, is not the general purpose language to
use always in an app.