Is groovy a complete paradigm shift from the Java world or it is simply a syntax sugar coated over the bitter Java tablet.
I think unless an language owns its own runtime environment it cannot be called as a language.
Amu mathi wrote:The day I compile my groovy code into Java the facade is gone, I am left again back to the old Java where I need to attend the strange Java exceptions and Java error messages. In-fact debugging groovy at run-time is more difficult than debugging java as the groovy code is converted into incomprehensible byte code and one needs very in-depth knowledge of Java to understand the errors at run-time....
No more Blub for me, thank you, Vicar.
===Vyas Sanzgiri===
My Blog
Vyas Sanzgiri wrote:I worked with Groovy on Grails and I got some cryptic error messages which I really cannot correct since it is with all these libraries Groovy Grails is built upon (which I do not know or lets say in this world I am not supposed to know) To keep fixing these errors or to get more info about these issues is what I call a technology to be more mature and proved.
Amu mathi wrote:Lets understand few things
If I should learn about Hibernate and spring or JVM to work efficiently with Groovy or Grails, then I am better off working on them directly, further I can master and resolve issues in Spring/Hibernate only if I work, struggle with them over a period of time.
The problem is to understand and fix issues under the hood one need to be a master with that technology- which can be gained only if you fiddle with them for long enough.
Are we missing something
The point is in groovy is a great idea... but we are trying to fit it into the Java groove - that's like trying to adjust your leg to fit shoe, I suppose groovy to grow further should move beyond JVM and have its own elegant virtual machine.
No more Blub for me, thank you, Vicar.
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Garrett Rowe wrote:I disagree with the assertion that since the language compiles down to JVM bytecode, it is essentially a Java facade. JVM bytecode and the Java language are related only in the fact that Java compiles down to JVM bytecode. The JVM is an amazing piece of software that has been highly tuned and optimized over the last 15 years. The bytecode that it runs is for the most part language independent. To just scrap Groovy's dependency on the JVM because of, well I'm not sure why really, would be a mistake. There are a number of languages other than Java and Groovy that compile down to JVM bytecode, including Scala (my favorite), Clojure, and Fan. To say that any of these languages are Java facades or syntactic sugar over the Java language is just incorrect.
chris webster wrote:Groovy/Grails run in the JVM, which is one of their greatest advantages, because they allow you to take advantage of a huge existing codebase in Java