97 reputation
2
bio website
location
age
visits member for 1 year, 10 months
seen Feb 21 at 11:40

Feb
21
comment Query Language for Java Code Analysis
> "All valid java is valid Groovy" There's many occasions where Java doesn't run as Groovy or does something different. The official list from Codehaus listing gotchas like == is glib about the nasty bugs that arise when compiling Java code in Groovy. Then there's the gotchas not listed. When I was using Groovy a lot 5 yrs ago, I would often compile Java code in Groovy and it wouldn't work the same and I just couldn't work out why. Java 8 is likely to bring many more incompatibilities. Codehaus seem to be dragging their feet on this.
Feb
21
comment How do you convince management to throw away a prototype?
"Groovy is nice to use quick to develop but performs like a geriatric snail, however it is trivially easy to re-factor performance critical sections in to pure Java." You really need to refactor the entire prototype into Java if you use Groovy to build a prototype.
Dec
15
comment Is there a clear leader amongst JVM-based languages?
@Deckard You wrote "Groovy refer to a language and implementation", but Groovy creator James Strachan made clear the Groovy Language is different from the implementation hosted at Codehaus, which he called the current RI of Groovy‌​. Just because Groovy presently only has one implementation doesn't mean Groovy is both a language and implementation.
Nov
11
comment What makes JVM so much versatile to support so many JVM languages?
"Groovy,Clojure,Scala etc which are functional". Some of those are more functional than others. I would use a scale with Groovy the least funcional and Clojure the most, with Scala in the middle.
Apr
4
comment What are the practical benefits of LISP like syntax which Clojure uses over Java like syntax of Scala?
Getting used to prefix (+ 1 2) notation means you can define macros. Paul Graham's On Lisp explains the benefits of macros in great detail.
Apr
3
comment Language Design: Are languages like Python and CoffeeScript really more comprehensible?
"Debugging Groovy is painful, you end up stepping through endless obscure internal Groovy classes before you get back to your own code." That's the breaks when using dynamically-typed languages on the JVM.
Apr
3
comment Why are Java servers so scarce and costly?
A/ctd: There is also Scala and Play!2, also easily learnt and very productive. There's also Clojure and Noir, again easily learnt and very productive. There's also JRuby and Rails, the #1 framework on the web!
Apr
3
comment What should I do to be language-agnostic?
To "the whole Groovy/Grails world" you could add ", the whole Scala/Play!2 world, the whole JRuby/Rails world, and the whole Clojure/Noir world".
Apr
3
comment Record management system java web framework
Play! 2 based on Scala is even better. Play! replaced every last line of its Groovy code when updating from version 1 to 2. Groovy's creator James Strachan said he would never have created Groovy if he'd known about Scala.
Apr
3
comment Basic use of Business Rules
Other languages such as JRuby and Scala also allow you to create a custom DSL.
Apr
3
comment Is this how dynamic language copes with dynamic requirement?
"Dynamic language" is more of a marketing term. Now statically typed languages like Scala and C# has a dynamic keyword, they are now dynamic languages!
Apr
3
comment Is Groovy going away?
"If one was to look at Grails vs Lift today, then Grails would be clear winner", you said 2 yrs ago, but Play! 2 has easily supplanted Lift as the leading Scala-based web framework, and is streets ahead of Grails (IMHO).
Apr
3
awarded  Commentator
Apr
3
comment Is Groovy going away?
"Grails is constantly in the top 2 frameworks" but PHP-based backends aren't considered to be a "framework", even tho that's what the vast majority of businesses still use.
Apr
3
comment Is Groovy going away?
@James Don't forget Eclipse as a Groovy-killer for JVM scripting, automated tests & builds, etc.
Apr
3
comment Is Groovy going away?
@Brian Groovy's still the only feasible choice if you need to use Grails. (Tho admittedly Grails is increasingly being supplanted by cleaner upcomers such as Play! 2.)
Apr
3
comment Does groovy call partial application 'currying'?
Groovy has never been too concerned about using the same vocabulary as the rest of the programming community. Groovy's SpringSource spokesperson says: "Changing the naming of what people are used to is painful for everybody. Groovy is for pragmatic people more than for language theorists.".
Apr
3
comment Java devs: why not use Groovy?
TIOBE is messy but not completely meaningless. Groovy is still outside TIOBE's top 50 in March 2013, over two years after the OP's comment on it.
Apr
3
comment Java devs: why not use Groovy?
I wouldn't be surprized if Forrest Gump wrote some parts of Groovy - that would explain a lot!
Apr
3
comment Java devs: why not use Groovy?
Groovy has been "repurposed" so many times. It was started as a Beanshell alternative by James Strachan. Graeme Rocher then took it over, added a meta-object protocol (MOP), and used it for Grails, a clone of Rails. Guillaume Laforge then removed the parentheses and dots from the method call syntax and peddled Groovy as a "DSL". Alex Tkachman then created a statically-typed plugin called Groovy++, which was then cloned by SpringSource employee Cedric Champeau and marketed as "Groovy 2". Who only knows what Groovy is going to turn into next?