|
Self Encapsulation is designing your classes so that all access to
data, even from within the same class, goes through accessor methods. Ken Auer has an excellent
paper in favor of this technique. I don't use it all the time, but I do use it from time to time. Self
encapsulation is a useful
refactoring
|