JDK 8 and properties
loic.descotte at gmail.com
Wed Oct 5 08:15:41 PDT 2011
I was wondering if coin 2 (in JDK 8) would possibly include a "properties"
feature, to avoid writing getters and setters for all fields in our classes.
When we have large classes with a lot of fields, getters/setters make the
code very hard to read. If a field is returned with something else that a
simple "get", we risk to miss it be cause it's hidden among the others
getters and setters.
C# properties or the one introduced with Kotlin language would be great!
After lambda project, I think it would be the only little thing missing to
java 8 to become really great and more pleasant to use.
Do you have any status about such a feature?
Ps : excuse me if it's not the right mailing list for this kind of question
More information about the coin-dev