object.attribute vs. object.getAttribute()

Michael Geary Mike at DeleteThis.Geary.com
Tue Sep 16 12:48:45 EDT 2003


Aurelio Martin Massoni wrote:
> Read this nice article "Why getter and setter methods are evil: Make
> your code more maintainable by avoiding accessors"
>
> http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-toolbox.html

That's an interesting article. Be sure to read the comments at the end of
page 3--the real fun starts there!

-Mike






More information about the Python-list mailing list