Page 1 of 1

Changing a classes's atributes- is it a bad practice?

Posted: Tue Jun 05, 2007 7:23 am
by pedrotuga
just wondering if there is any reason for not doing this in a class routine(function)

Posted: Tue Jun 05, 2007 7:33 am
by feyd
Unless the class doesn't care what's contained in the property, it's best to use a method to set it.