in reply to •Re^3: Are lvalue methods (as properties) a good idea?
in thread Are lvalue methods (as properties) a good idea?
That sounds perfectly reasonable and is the best defense I've heard of the Anonymous Monk's assertion. However, I have heard (more than once) comments which suggest that all getters and setters violate encapsulation. Such blanket assertions usually make me very suspicious as to whether or not the person making the statement has really thought things through. Dogma scares me.
Cheers,
Ovid
New address of my CGI Course.
|
|---|