- Joe
On Jun 27, 9:08 am, Kevin Wong <kevin.peter.w...@gmail.com> wrote:
> https://bean-properties.dev.java.net/
/Casper
Shai Almog seems pretty adamant that a binding framework based on his
bean properties library would be far superior.
Right. Meanwhile, I'm rooting for Rémi Forax and his attempt to get
native property support in Java.
http://weblogs.java.net/blog/forax/archive/2007/06/beansbinding_go.html
/Casper
"Does the anonymous inner class in Java read elegantly or simply?"
They aren't bad, but most of the time it is better to use named
classes. Named classes:
1) Are more friendly to java.io.Serialization.
2) Are more likely to be well documented and helpfully named. For
whatever reason, people writing anonymous classes tend to think that
the code itself provides adequate documentation.
3) Provide more readable stack traces.
4) Allow you to favor static classes.
5) Make the code where they are being used more readable.
"Are you excited by the idea of adding more anonymous inner classes to
your Domain Model?"
No. I don't really see where you're going with this. Perhaps you can
elaborate.
"And how does the possibility of adding a new closure syntax impact
your view of anonymous inner classes?"
It doesn't. It probably should, but it doesn't.
"Are you excited by the idea of adding more anonymous inner classes to
your Domain Model?"
No. I don't really see where you're going with this. Perhaps you can
elaborate.