Python "object" as root object
Lalo Martins
lalo at exoweb.net
Wed May 25 11:15:44 BST 2005
On Wed, 2005-05-25 at 09:03 +0200, Fredrik Lundh wrote:
> you don't have to use "newish" features if you don't need them. using "old
> style" classes in new code is perfectly okay.
except your teeth will rot, your dog will run away, and your downstairs
neighbours will open an illegal nightclub that plays your least favorite
kind of muzak.
Seriously, it's not "right" or "wrong"... new-style classes allow you to
use many nifty things such as super() and descriptors, and mixing
new-style and old-style metaclasses causes trouble. Since you're not
using any of this kind of sorcery, it doesn't really make a difference.
best,
Lalo Martins
--
My personal formula for efficiency is to arrange
problems in such a way that they solve each other.
--
http://www.exoweb.net/ mailto:lalo at exoweb.net
GNU: never give up freedom http://www.gnu.org/
More information about the bazaar
mailing list