Re: Closures versus objects
P T Withington <[email protected]>
| Newsgroups | gmane.comp.lang.lightweight |
|---|---|
| Message-ID | <[email protected]> |
On 2007-02-15, at 17:50 EST, Robbert Haarman wrote: > For example, in Java, anonymous > inner classes can refer to bindings in the environment in which they > were created - as long as these bindings are declared final (i.e. they > are constant). No offense, but this Java 'feature' always makes me LOL. If a binding is constant, is it really a binding?