Linked by David Adams on Tue 14th Oct 2008 03:52 UTC, submitted by estherschindler
General Development Several up-and-coming scripting languages--some open-source--are gaining popularity among software developers. These dynamic programming languages, including Groovy, Scala, Lua, F#, Clojure and Boo, deserve more attention for your enterprise software development, even if your shop is dedicated to Java or .NET. Here's why.
Permalink for comment 333587
To read all comments associated with this story, please click here.
Groovy vs. Python
by Clinton on Tue 14th Oct 2008 08:10 UTC
Clinton
Member since:
2005-07-05

I could be wrong, but I disagree with the quote in the article which postulates that Groovy could replace Python and Ruby in the next few years.

While Ruby definitely has it's gotchas, Python is a relatively clean and easy to use language. Groovy certainly has better syntax than Java, but it is still closely tied to Java and therefore has some gotchas which I think will always keep it from overtaking Python in popularity; at least with non-Java programmers.

For example, semicolons are optional in Groovy; but not always. There are times where leaving off a semicolon will cause your code to throw exceptions (like when a missing semicolon causes Groovy to think your class initializer is a closure instead).

I think the JVM is great and have always lamented that it has such a wordy and obtuse language tied so closely to it.

I think Groovy is more pleasurable to write in than Java, but I think Python is better than Groovy and will continue to be my preferred language.

Academically speaking, in my opinion anyway, Ruby is just a lot of fun, so I think it will be around for quite a while too.

Edited 2008-10-14 08:11 UTC

Reply Score: 5