Is it better to use class variables or pass parameters?

Derek Basch dbasch at yahoo.com
Wed Mar 1 14:32:02 EST 2006


This one has always bugged me. Is it better to just slap a "self" in
front of any variable that will be used by more than one class method
or should I pass around variable between the methods?

Flamewar........NOW!

jk, I really do want other opinions.

Thanks,
Derek




More information about the Python-list mailing list