Re: Closures: summarizing suggestions a bit...

Patrick Niemeyer <[email protected]> Thu, 3 Feb 2005 14:11:58 -0600
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
Just to summarize a few of the alternate suggestions:

// Extended method-like syntax:
callable( ... );
callable( arg, ... );


// Anonymous inner class-like syntax:
() { ... }
(arg) { ... }


// Multiple curly brace syntax:
{{ ... }}
{ arg { ... } }



Pat



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl