Class or Dictionary?
tjreedy at udel.edu
Sat Feb 12 19:12:50 CET 2011
On 2/12/2011 1:24 AM, Martin De Kauwe wrote:
> The point of this posting was just to ask those that know, whether it
> was a bad idea to use the class object in the way I had or was that
> OK? And if I should have just used a dictionary, why?
Did you miss my suggestion to use a module rather than a class?
Modules do not have some of the disadvantages of classes listed by J. Nagle.
Terry Jan Reedy
More information about the Python-list