Modules are Singletons! (was Re: Catalog of Python Patterns? [LONG!])

Paul Rubin phr-n2002a at nightsong.com
Fri Apr 5 11:37:55 EST 2002


Andy Gimblett <gimbo at ftech.net> writes:
> > Use a module.  Don't use a class unless you need a class.
> 
> /me closes his eyes tight, opens his mouth, thinks about it for a
> while, shaking his head around slightly, feels something click, says
> "wow", opens his eyes, says "wow" again, and hits reply.
> 
> Wow.  Man, I love python.
> 
> Cheers for the epiphany

Care to explain it?  I missed something.



More information about the Python-list mailing list