Your Thoughts on the Groovy Scripting Language? 128
lelitsch asks: "Does anyone have first hand experience with Groovy?
I am just coming off implementing a Plone-based intranet CMS and got hooked on scripting languages and Python all over again. Since most of my projects in the near future are going to be in Java or have large Java components, I was wondering if it's time to trade Jython--which seems to be falling further behind the Python release cycle--for something else. Groovy sounds like a fun thing to look at, but it seems a bit new and thin. Also, what are other languages (JRuby and Rhino, for example) you have used to script in Java?"
Groovy Falls Behind True Scripting Languages (Score:1, Interesting)
My (anonymous) $0.02: go with the real scripting languages (Perl, Ruby, PHP, Python, etc.).
Ruby/Python + Objective-C (Score:3, Interesting)
My money is that there will be alot of attention passed to GNUStep in the near future as a condender on server side and even client x-platform side app development.
My Ideal web/app server is Free BSD + GNUStep + Ruby and/or Python.
JsD
Re:Nothing beats Lua (Score:4, Interesting)
*nods*
I never use anything else any more --- it's small (compiling into an 200kB binary with no dependencies on my platform), it's fast (faster than Python!), it's simple (you can easily understand the entire language), it's elegant (closures, coroutines, a superb callout interface...), and it's flexible (there's enough functionality under the surface that you can, e.g., rewrite the OO system to better suit your needs). It's also BSD licensed, which means that there are no legal hurdles to using it in your project; if you play games, you've probably already used Lua without realising it.
I will admit to not being overly enamoured with its syntax --- it uses Pascalish if...then...end style rather than C's if () {} style --- but I can easily live with that.
Testimonial: I wrote a gaim plugin not long ago for the Citadel BBS. It was easier to bolt the Lua engine onto gaim and write the logic in gaim rather than try and figure out how to do it in gaim. Lua's coroutines support allowed me to turn gaim's callback-based API into a callout-based structure, which in turn allowed me to invert all my nasty complex state machines, which made the whole thing an order of magnitude less complex. Good stuff.
Re:People who like general-purpose languages (Score:3, Interesting)
Mind you, I'm do a lot of Ruby coding, and I love the language. However:
Again, I love Ruby. I'd rather code in Ruby than Java or C. I'm more productive in Ruby; it is a better language than C or Java. However, I'm really nervous about using it for any large (code-base) project.
--- SER