Path: csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'developer,': 0.05; 'frameworks': 0.05; 'tests,': 0.07; 'any.': 0.09; 'metrics': 0.09; 'underlying': 0.09; 'static': 0.13; 'ignore': 0.13; '(easier': 0.16; '*other*': 0.16; 'accident.': 0.16; 'fits': 0.16; 'kern': 0.16; 'robert,': 0.16; 'to:addr:robert.kern': 0.16; 'later': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'differ': 0.17; 'code,': 0.18; 'code.': 0.20; '+0000': 0.20; 'to:name:python-list@python.org': 0.20; 'skip:- 40': 0.21; 'bit': 0.21; 'earlier': 0.21; 'people,': 0.21; 'driven': 0.22; 'focusing': 0.22; 'interpret': 0.22; 'to:2**1': 0.23; 'project,': 0.24; 'thus': 0.24; 'header:In-Reply- To:1': 0.25; 'donate': 0.27; 'initial': 0.28; 'about.': 0.29; 'agreed.': 0.29; 'convince': 0.29; 'existence': 0.29; 'reduced': 0.29; 'date:': 0.29; 'url:mailman': 0.29; 'this.': 0.29; 'usually': 0.30; 'code': 0.31; 'point': 0.31; 'url:python': 0.32; 'support,': 0.32; 'url:listinfo': 0.32; 'docs': 0.33; 'from:addr:live.com': 0.33; 'to:addr:python-list': 0.33; 'nov': 0.35; 'robert': 0.35; 'subject:': 0.36; 'but': 0.36; 'url:org': 0.36; 'depends': 0.36; 'email addr:python.org': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'unit': 0.38; 'from:': 0.38; 'fact': 0.38; 'mean': 0.38; 'some': 0.38; 'things': 0.38; 'talk': 0.38; 'to:addr:python.org': 0.39; 'end': 0.40; 'url:mail': 0.40; 'think': 0.40; 'your': 0.60; 'back': 0.62; 'email name:python- list': 0.62; 'improved': 0.62; 'world': 0.63; 'email addr:gmail.com': 0.63; 'our': 0.65; 'overall': 0.66; 'believe': 0.69; 'analysis': 0.70; 'complexity': 0.84; 'eco': 0.84; 'etc),': 0.84; 'excessive': 0.84; 'picture,': 0.84; 'terrible': 0.84; 'understand,': 0.84; 'vision,': 0.84; 'drops': 0.91; 'picture': 0.96; 'you...': 0.96; 'charset:windows-1251': 0.97 X-Originating-IP: [194.44.213.194] X-EIP: [f12LWdUej7XALdiwCAYRBOrtF5OvZ20+] X-Originating-Email: [andriy.kornatskyy@live.com] From: Andriy Kornatskyy To: , "python-list@python.org" Subject: RE: Web Frameworks Excessive Complexity Date: Wed, 21 Nov 2012 15:17:37 +0300 Importance: Normal In-Reply-To: References: , , ,,, ,,, , , , , , , , , Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 21 Nov 2012 12:17:37.0903 (UTC) FILETIME=[32004FF0:01CDC7E2] 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: 58 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353500324 news.xs4all.nl 6872 [2001:888:2000:d::a6]:57593 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33726 Agreed. I think we have pretty much the same point of view on this. All these metrics advise you... this is again depends how you look at this.= If you are a new comer to a project=2C you usually spend some time on code= review=2C talk to people=2C read docs if any. The qa tools for static code= analysis give you an initial picture=2C how it fits with your own vision= =2C etc. Convince or accept? Andriy Kornatskyy ---------------------------------------- > To: python-list@python.org > From: robert.kern@gmail.com > Subject: Re: Web Frameworks Excessive Complexity > Date: Wed=2C 21 Nov 2012 11:54:06 +0000 > > On 21/11/2012 11:02=2C Andriy Kornatskyy wrote: > > > > Robert=2C > > > > You would never get a better product by accident. > > > > The meaning of better product might differ from team to team but you ca= n not ignore excessive complexity. Earlier or later you get back to that co= de and refactor it=2C thus existence of such fact was driven by your intent= ion to make it a bit better (easier to understand=2C to support=2C to cover= with unit tests=2C etc)=2C with a team of 20 heads you can get even furthe= r: the whole team adherence. So those drops make the overall picture better= . This is what you=2C as a software developer=2C donate to what the final b= etter product become. > > I think you may be misinterpreting the English idiom. I don't mean that y= our > finger slips and randomly types out better code. I mean that by focusing = on CC > as a metric for improvement=2C you may very well end up improving the cod= e=2C but > it's not because you reduced the CC of the code. It's because of all of t= hose > *other* things that you talk about. Those are the things that should driv= e your > refactoring=2C not CC=2C because they actually do cause improved code. > > -- > Robert Kern > > "I have come to believe that the whole world is an enigma=2C a harmless e= nigma > that is made terrible by our own mad attempt to interpret it as though it= had > an underlying truth." > -- Umberto Eco > > -- > http://mail.python.org/mailman/listinfo/python-list =