I have read on this site that directly accessing a variable in my class can cause problems. For example the oop tutorial says:
or in this thread
My question is, what problems am I avoiding by creating setter classes? I have a class I'm working on now that just seems bloated by all the getter and setter methods.