Re: Closures
Harish Krishnaswamy <[email protected]>
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Message-ID | <[email protected]> |
I agree that the code will become hard to read when you add a lot Perl-ish syntax, but there is a lot of other intuituve syntax that is absent in Java. That is the primary reason people are allured to it. It makes the code concise and to the point which helps readability and productivity. Besides it is a pleasure to code. I think Beanshell should consider a lot of the syntax sugar that Groovy is adding if it would like to continue playing in this domain. -Harish Mark Swanson wrote: >-1 > >I only want Java syntax with as little scripty features as possible. The thing >that appeals to me the most about BeanShell is that it aims to provide >embedable scriptable Java. I believe adding Icon/Eiffel/Python/etc... >features would make the language so difficult to learn people won't bother. I >look at the language features Groovy is incorporating and I know that I'll >likely never find the time to understand them, and I'll likely never be able >to read Groovy code that uses them. I want to stick with what I'm comfortable >with and that's just plain Java. When I embed BeanShell I want to provide >people with a scripting language built on a well-known and understood syntax >- Java. > >Perhaps this issue is what will separate BeanShell and Groovy. > > > ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297