SCJP 1.4 (91%)<br />SCJD 1.4 (376/400, 94%)
Holla at me...<br /><a href="http://codeforfun.wordpress.com" target="_blank" rel="nofollow">http://codeforfun.wordpress.com</a>
My question to this is, then why use Groovy? If you are going to compile to bytecode anyway, and jar them up, why not just stick with Java.
Holla at me...<br /><a href="http://codeforfun.wordpress.com" target="_blank" rel="nofollow">http://codeforfun.wordpress.com</a>
Also conceding that I tend to want to know if my code is going to break before I run it, which proves difficult with dynamic languages.
Holla at me...<br /><a href="http://codeforfun.wordpress.com" target="_blank" rel="nofollow">http://codeforfun.wordpress.com</a>
Originally posted by Gregg Bolinger:
I could use my exising JDBC libraries, write tests and run JUnit, compiled the Groovy source into .class files and jar them up.
My question to this is, then why use Groovy? If you are going to compile to bytecode anyway, and jar them up, why not just stick with Java. When I think of using a scripting language, I think of it as an on-the-fly type of use. For example, I have an application written in Java. I would like users of my application to be able to extend it without having to recompile my code. Pretty much a plugin architecture, but with zero compiling. If that makes sense at all.
Aside from that, I'd assume a scripting language like Groovy to make a few things simpler with a simpler syntax. But again, my biggest problem is finding the niche for any scripting language.
Originally posted by Gregg Bolinger:
... But again, my biggest problem is finding the niche for any scripting language....