[Tutor] Accessing class attributes: use methods only?
chris.lasher at gmail.com
Tue Feb 13 20:16:19 CET 2007
Is it general good practice to access and set class attributes via
methods only, or is it okay practice to directly interact with class
attributes? The professor in a class on Perl that I'm taking suggested
that directly accessing and setting class attributes was a bad idea.
Just wondering what the current preference in Python is.
More information about the Tutor