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.

Many thanks,
Chris
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to