Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gregory Ewing Newsgroups: comp.lang.python Subject: Re: Classes Date: Mon, 03 Nov 2014 00:32:42 +1300 Lines: 11 Message-ID: References: <51755at03r0bidjqh3qf0hhpvjr8756ill@4ax.com> <545350c3$0$23449$426a74cc@news.free.fr> <54543231$0$13000$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net tdIGSlFZvDj9aAUac+7uWwPbsaCHkZQZLBidRarOnruCH92RbZ Cancel-Lock: sha1:o8F8wLzWm0pvzldlv/WXRsjyJoM= User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711) X-Accept-Language: en-us, en In-Reply-To: <54543231$0$13000$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:80116 Steven D'Aprano wrote: > Like all good Pythonistas[1], we hate Java and think that getter/setter > methods are pointless. But come on, they're not *wrong*, What's wrong is the statement that getters and setters are necessary to allow the implementation to change without changing the interface. That's factually incorrect in regard to Python. -- Greg