For me, objects are state-keepers. Methods may cause the object to change state, or they may be used to interrogate the object about its state (or both). How to object keeps its state however, is something only known the the class(es) of which the object is an instance.
Abigail
In reply to Re: Why get() and set() accessor methods are evil
by Abigail-II
in thread Why get() and set() accessor methods are evil
by synistar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |