Does Python really follow its philosophy of "Readability counts"?

mk mrkafk at gmail.com
Fri Jan 16 10:39:58 EST 2009


Paul Rubin wrote:
> But, if something is done by convention, then departing from the
> convention is by definition unconventional.  If you do something
> unconventional in a program, it could be on purpose for a reason, or
> it could be by accident indicating a bug.

I for one would love to see at least compiler warning (optionally, 
error) for situation where attributes are added to self outside of 
__init__. I consider it generally evil and hate to see code like that.


Regards,
mk




More information about the Python-list mailing list