Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.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.063 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; '16,': 0.03; 'anyway.': 0.05; 'explanation': 0.09; 'mess': 0.09; 'anyway': 0.14; 'thread': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'growth.': 0.16; 'mess,': 0.16; 'personal,': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'normally': 0.19; 'evolving': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'feature': 0.29; 'am,': 0.29; 'tim': 0.29; "doesn't": 0.30; 'sets': 0.30; 'message- id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'maybe': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'next': 0.36; 'effort': 0.37; 'too': 0.37; 'two': 0.37; 'nov': 0.38; 'to:addr:python-list': 0.38; 'fact': 0.38; 'to:addr:python.org': 0.39; 'most': 0.60; 'such': 0.63; 'design,': 0.64; 'worth': 0.66; 'design.': 0.68; 'nobody': 0.68; 'results': 0.69; 'caused': 0.69; 'commercial': 0.71; 'lack': 0.78; 'redesigning': 0.84; 'terrible': 0.84; 'subject:Global': 0.91; 'thing,': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fMUYTW3yDHEY6Tq9g/r7tEHhvLsQ5vCgopAz7sbS78o=; b=d4I7RwTowaLOF7xuVZZ5jLcJrHmIl/1zLgqkRmVXWesZkLwdBLmfLPPJIdARni/bbN J/gGNsSMo0rWGECUHjuCrRwZnAV8pggggPJpryH26oaLNqbhXvSdDFrSxy3g96s15tky U4ok+bLLRWEFmCNRwPv4QoEHS1sNpNgt4AYXVII5rB4yvDF4zld9pzaRZqW6c2eHO4XY yXeODn92k6i+AvlnPZOtfUqKZNXmwltWGf72XZNcPI6mWr6nHoYjSeVR1KgcrT9nKuCJ yrCwSi2/2obeu6MPZR0KQxvodW+ICg34/KeYASONe40Iy9yH8MZmoBE9UenummWLHvMK Ju+w== MIME-Version: 1.0 X-Received: by 10.66.26.106 with SMTP id k10mr7537320pag.136.1384530178733; Fri, 15 Nov 2013 07:42:58 -0800 (PST) In-Reply-To: <62rhla-r1p1.ln1@ozzie.tundraware.com> References: <7b97786a-2aaf-454c-8c3a-1c19d20d4345@googlegroups.com> <2373cb88-c3e8-46ee-bf0c-82bb69c97226@googlegroups.com> <5284393c$0$29975$c3e8da3$5496439d@news.astraweb.com> <528464af$0$29971$c3e8da3$5496439d@news.astraweb.com> <5285d8f4$0$29975$c3e8da3$5496439d@news.astraweb.com> <62rhla-r1p1.ln1@ozzie.tundraware.com> Date: Sat, 16 Nov 2013 02:42:58 +1100 Subject: Re: PyMyth: Global variables are evil... WRONG! From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384530181 news.xs4all.nl 15875 [2001:888:2000:d::a6]:33655 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59540 On Sat, Nov 16, 2013 at 2:26 AM, Tim Daneliuk wrote: > On 11/15/2013 02:19 AM, Steven D'Aprano wrote: >> Nobody sets out to*design* a tangled mess. What normally happens is that >> a tangled mess is the result of*lack of design*. > > This has been an interesting thread - to me anyway - but this bit > above caught my eye. People write programs for lots of reasons - > personal, academic, scientific, and commercial - but I actually > don't thing the resultant messes are caused by a "lack of > design" most of the time. In my experience they're caused by only two > things: > > 2) An evolving set of requirements. This can be an explanation for a lack of design, but it's no less a lack. Sometimes, something just grows organically... from a nucleus of good design, but undesigned growth. Maybe it's time it got redesigned; or maybe redesigning would take too much effort and it's just not worth spending that time on something that's going to be phased out by the next shiny thing in a couple of years anyway. Doesn't change the fact that the current state is not the result of design, but of disorganized feature creep. That's not necessarily a terrible thing, but Steven's point still stands: such lack of design often results in a tangled mess, and a tangled mess can often be blamed on lack of design. ChrisA