Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; ';-)': 0.03; 'definition,': 0.09; 'preferable': 0.09; 'properly.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'useless': 0.09; 'subject:question': 0.10; 'jan': 0.12; 'answers:': 0.16; 'articulate': 0.16; 'extraneous': 0.16; 'rationale': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:class': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'separate': 0.22; 'header :User-Agent:1': 0.23; 'post': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'code': 0.31; 'that.': 0.31; 'us!': 0.31; 'another': 0.32; 'trouble': 0.34; 'advice': 0.35; 'agree': 0.35; 'but': 0.35; 'add': 0.35; 'there': 0.35; 'really': 0.36; 'doubt': 0.36; 'subject:regarding': 0.36; 'similar': 0.36; 'behind': 0.37; 'integration': 0.37; 'sometimes': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'how': 0.40; 'received:173': 0.61; 'experience.': 0.67; 'between': 0.67; 'believe': 0.68; 'caused': 0.69; 'newbie,': 0.84; 'received:fios.verizon.net': 0.84; 'good,': 0.91; 'trouble.': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Jan Reedy Subject: Re: Newbie: question regarding references and class relationships Date: Mon, 10 Jun 2013 18:07:15 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370902047 news.xs4all.nl 15973 [2001:888:2000:d::a6]:55077 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:47606 On 6/10/2013 4:13 PM, Rui Maciel wrote: > Terry Jan Reedy wrote: > >> Three answers: >> Look how much trouble it has already caused ;-) >> Since you are a self-declared newbie, believe us! >> Since, be definition, useless code can do no good, it can only cause >> trouble. Think about it. > > I don't doubt that there might good reasons for that, but it is always > preferable to get the rationale behind a decision to be able to understand > how things work and how to do things properly. I agree actually. But sometimes is it hard to articulate 'good reasons' for a principle based on the integration of over a decade of experience. I was really trying to point to the difference between 'I will not accept the experience-based advice until enough good reasons are presented.' and 'I will provisionally accept the advice but I would still like to know why.' Another principle similar to 'Don't add extraneous code' is 'Don't rebind builtins*'. I have a separate post for that. Terry