Is classless worth consideration

Peter Hansen peter at engcorp.com
Fri Apr 30 15:48:01 EDT 2004


Hung Jung Lu wrote:

> Peter Hansen <peter at engcorp.com> wrote in message news:<84Kdnfu3OoN4oA_dRVn-vg at powergate.ca>...
>>Well, (c) module is merely a packaging technique, 
> 
> Are you sure about that? Have you seen how people put an class
> instance in sys.modules so they could use it as a module (an old trick
> by now)? Have you seen people asking __call__() to make modules
> callable, and/or property getters/setters for modules? "Merely a
> packaging technique"? Have you seen people using modules as
> singletons? Do you realize that "from ... import ..." is nothing but a
> form of module inheritance? Think again. Let me say it again: think
> outside the box. It's hard to do when you are inside the box. But try.
> Try hard.

You are being extraordinarily insulting.  I was going to
give some other reply, but it's just not worth it.

"Bog off", as 'has' might say.

-Peter



More information about the Python-list mailing list