the annoying, verbose self

Duncan Booth duncan.booth at invalid.invalid
Sat Nov 24 17:07:18 CET 2007


Ton van Vliet <sheep.in.herd at green.meadow> wrote:

> It would boil down to choice: explicit/speed vs implicit/readability

No, it would boil down to explicit+speed+readability+maintainability vs 
implicit+error prone.

It would mean that as well as the interpreter having to search the 
instance to work out whether each name referenced an attribute or a global 
the reader would also have to perform the same search. It would mean that 
adding a new attribute to an instance would change the meaning of the 
methods which is a recipe for disaster.




More information about the Python-list mailing list