quote: Java is a beautiful language.
quote: By definition, a bean must have getter & setter methods to access properties, but an object can have public member variables which are accessible using object_variable.member_name syntax , behaving similarly as a struct in C.
quote: A good implementation of properties still executes code for the get and set property operations, but gives the users of the class the same syntax as accessing a public data member.
quote: usually getter/setter methods aren't supposed to do anything other than what their name implies. No extra operations should be performed
quote: That would defeat the purpose of properties/accessors. The whole point is to be able to put code there - otherwise you might as well use public data members.