Andrew Huntwork wrote:

Drew Davidson wrote:

Richard Hightower wrote:

I agree. Like it or not.... Groovy looks like it will be a factor. (Poor
Drew hates it with a passion.)




Actually I don't hate it at all. I actually quite like the concept of a language that allows for scripting that is not JavaScript but is more Java-like.
[...]


javascript seems like a pretty nice language to me. it seems to have interesting features, like first-class functions and its scoping rules/object model, as far as i understand them. i think there's also a runtime written in java (called rhino) and a way to call into java and define java objects (live connect). is there some objection to it other than the fact that it's not particularly java-like? I searched for "javascript sucks" on google just now and all i got were some rants, so hopefully this isn't too stupid a question.

Rhino works well, in fact. I used it on a project about 2 years ago. I don't have a problem with Javascript. I just would like Java-like syntax for some things.

I'm not familiar with groovy, so maybe I'll be able to rephrase this question more interestingly after someone gives a talk on the topic (hint, hint).

Groovy is (a) Java-like and (b) compiled. The Javascript implementations are not compiled but interpreted. Groovy also adds some syntactical elements that are convenience (like for iteration, etc.).

- Drew

--
+---------------------------------+
< Drew Davidson | OGNL Technology >
+---------------------------------+
|  Email: [EMAIL PROTECTED]          /
|    Web: http://www.ognl.org   /
|    Vox: (520) 531-1966       <
|    Fax: (520) 531-1965        \
| Mobile: (520) 405-2967         \
+---------------------------------+


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to