I just browsed the book on "Apache Jakarta Commons".
Seems like Jakarta 'closures' are much like Smalltalk
blocks, yet not quite.
Any thoughts on whether Java's anon classes will
match up with ST blocks eventually?
I see the Java anon-class syntax as impractically
verbose. But otherwise it would almost seem able
to simulate ifTrue:ifFalse: [] etc.
Feels like all Java needs is a good "block-oriented"
class-library, just like Smalltalk's. A streamlined
syntax for inner classes perhaps. Static typing,
already optional in ShellBeans & Groovy.
Will Java become Smalltalk in disguise?
When will Java have full closures?
Thanks
- Panu Viljamaa
Seems like Jakarta 'closures' are much like Smalltalk
blocks, yet not quite.
Any thoughts on whether Java's anon classes will
match up with ST blocks eventually?
I see the Java anon-class syntax as impractically
verbose. But otherwise it would almost seem able
to simulate ifTrue:ifFalse: [] etc.
Feels like all Java needs is a good "block-oriented"
class-library, just like Smalltalk's. A streamlined
syntax for inner classes perhaps. Static typing,
already optional in ShellBeans & Groovy.
Will Java become Smalltalk in disguise?
When will Java have full closures?
Thanks
- Panu Viljamaa
Comment