RE: language extensions? future direction?
"Daniel Leuck" <[email protected]> Sat, 27 Nov 2004 16:14:19 -0000
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Message-ID | <[email protected]> |
> It's important to me that I have the ability to move code back > and forth between compiled and scripted environments. How does _adding_ syntax prevent you from doing this? As long as BeanShell remains a superset of the Java language this feature is preserved. Even if you argue that, in a team environment, others might use non-Java language extensions (which already exist) they can be switched off, just as scriptlets can be disabled in JSP. I understand the argument that bug fixes should be a higher priority, but I respectfully disagree with the assertion that optional syntax extensions (which can be disabled in the interpreter) would destroy BeanShell's interoperability. -----Original Message----- From: beanshell-developers-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:beanshell-developers-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Mark Swanson Sent: Saturday, November 27, 2004 2:35 AM To: beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Subject: Re: [Beanshell-dev] language extensions? future direction? On November 26, 2004 2:12 pm, Shankar Unni wrote: > > 1. "blocks" like in Ruby or Smalltalk: > > 2. "mixins" > > 4. "macros" > > > > What do you think? > > May I make a contrary plea? > > One of the advantages of BeanShell is that it has maintained its closeness > to "real Java syntax" all this time. > > If you want is primarily an exotic scripting language with bells and > whistles, "groovy" fits the bill quite nicely - it has all these and more. > Since compatibility with Java syntax and semantics is no longer a primary > concern, "groovy" could be your answer. > > BeanShell's big virtue is that you can keep the code in near-pure Java, and > move code back and forth between "compiled" java and "scripted" java > freely. +1. It's important to me that I have the ability to move code back and forth between compiled and scripted environments. Blocks and more seem to be exactly what the groovy folks are interested in. Cheers. -- Free SyncML-capable J2ME & J2SE replacement for Exchange and Outlook http://www.ScheduleWorld.com/ WAP: http://www.ScheduleWorld.com/sw/WAPToday?id=4000&tz=EST WebDAV: http://www.ScheduleWorld.com/sw/webDAVDir/4000.ics VFREEBUSY: http://www.ScheduleWorld.com/sw/freebusy/4000.ifb ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Beanshell-developers mailing list Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/beanshell-developers ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/