usage of property vs getters/setters in business classes
问题 When dealing with buisness classes, like the typical Customer and Employee classes, is it better to use getters and setters only or to use properties? I am translating to Delphi (for self learning) some OO examples from java books, in those examples there is always GetName() and SetName(), properties are not used. Now, I can see that if I create a component with published properties I have a very good reason for using properties, but in normal classes, which approach is better? Is the code