Accessors in Python (getters and setters)

Diez B. Roggisch deets at nospam.web.de
Thu Jul 20 08:03:43 EDT 2006


> Lol. I actually did *un*learn the hard way.
> 
> Mystilleef, I've started programing 17 years ago, and have done it
> professionnaly for almost 10 years now. I do not pretend to be a good
> programmer, but please believe that I do know my job. I've read the Book
> too, I've tried applying it blindly, then I used my brain. Once you
> understand the real reasons behind a "rule", you also understand when
> and how to apply or not apply it.


To second that:

"""
A Foolish Consistency is the Hobgoblin of Little Minds
"""

http://www.python.org/dev/peps/pep-0008/


Diez



More information about the Python-list mailing list