The moose likes Groovy and the fly likes Why Just Plain Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Why Just Plain Java" Watch "Why Just Plain Java" New topic

Why Just Plain Java

jp roberts

Joined: Feb 19, 2009
Posts: 14
I've developed a couple of application using Groovy and never want to write plain java code any more. Why still use just plain java coding when it takes so much code to get a little done? It seems like the new scripting languages like Groovy, Scala and even the new stuff from Red Hat, Ceylon, are easier and quicker to code with.
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Scala isn't exactly a scripting language and Ceylon is an experimental language and it is so early to talk about its adoption.
Languages like Java, C++ or C# represents the safe side. Mature, massive knowledge pool, a lot of developers, a lot of documentations, tons of libraries.
So if you a decision maker and you are responsible for money payments and project success, which route you take?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

At the end of the day Groovy is just Java and then eventually bytecode. Sure there are some slight performance hits because of all the reflection that has to happen for Groovy to execute but I'd guess that 99% of the time, it is a non-issue. Groovy is a tool and should be used just like any other tool in your toolbox. Would you use a hammer when a screwdriver will suffice?

I also prefer to use Groovy and my approach is to use groovy until groovy won't suffice. Then use something that will.

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Why Just Plain Java
It's not a secret anymore!