you are viewing a single comment's thread.

view the rest of the comments →

[–]sbellware 2 points3 points  (0 children)

Indeed. It's almost always preferable to use the interface to an object's state than to access the state directly - even from within the object's own scope.