Re: Hacking BeanShell with JavaCC

fschmidt <[email protected]> Wed, 16 Apr 2008 11:07:44 -0700 (PDT)
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
Not to start a language war, but Groovy is the epitome of bad design.  I just
looked at their operator overloading page:

http://groovy.codehaus.org/Operator+Overloading

and I see that they actually change the meaning of standard Java operators
like this:

a == b 	 a.equals(b) or a.compareTo(b) == 0
a != b 	! a.equals(b)

If you want interpreted Java, stick with BeanShell or Pnuts.  If you want a
good interpreted language other than Java, use Python or Ruby.  There is no
reason to ever use Groovy.

And by the way, I hear that Python has a very nice MATLAB clone.



Stevenson, Scott W wrote:
> 
> If you've never scene Groovy, check it out at http://groovy.codehaus.org/.
> It's a Java based scripting language that is a lot more "MATLAB like"
> then BeanShell.  It supports operator overloading and lots of other
> features to make it a more suitable base for MATLAB. 
> 

-- 
View this message in context: http://www.nabble.com/Hacking-BeanShell-with-JavaCC-tp16715411p16727268.html
Sent from the BeanShell - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone