One Python 2.1 idea

Thomas Wouters thomas at xs4all.net
Tue Dec 26 15:38:58 CET 2000


On Tue, Dec 26, 2000 at 08:55:51AM -0500, Roy Smith wrote:

> x.port = x.page.frame.server.connection.input.socket.port

> but I do it because I think it makes the code easier to read (and 
> certainly easier to type!), not because I'm particularly worried about 
> how efficient it is.

And that's exactly the right reason, too :) Even though I'm always
interested in optimization, it's purely for the art of it, not for any
actual need for speed. I just like playing with such things :-)

-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list