[Tutor] when to introduce classes

Rohan Deshpande rohan.deshpande at gmail.com
Sun May 6 15:42:12 CEST 2007

Hi All,

I am wondering when is a good time to introduce classes into a python
program.  Is there any rule of thumb as to when they are necessary,
and when it is okay to just stick with regular functions and
variables? I.e. you have self defined methods and data working on the
same type of task?

Thank you.


More information about the Tutor mailing list