why are people still using classic classes?
Thu Jan 13 05:06:39 CET 2005
Simon Wittber <simonwittber at gmail.com> writes:
> > Is there a reason NOT to use them? If a classic class works fine, what
> > incentive is there to switch to new style classes?
> Perhaps classic classes will eventually disappear?
It just means that the formerly "classic" syntax will define a
new-style class. Try to write code that works either way.
It would be nice if a __future__ directive were added right now (if
it's not there already) that processes all class definitions as
new-style. Otherwise there's no easy way to test for compatibility.
More information about the Python-list