Simon Hibbs: > It seems to me that unless you > need some of the functionality supplied with dictionaries (len(a), > has_key, etc) then simple objects are a syntacticaly cleaner and more > natural way to express yourself.
I'd say the opposite. Classes contain a dict of their attributes, etc. So if you don't need the functionality supplied by objects, then using simpler dictionaries is better. (But in the end the choice has to be made according to the specific situations). Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list