Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!newsfeed-00.mathworks.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Python Worst Practices Date: Wed, 25 Feb 2015 23:00:46 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 28 Message-ID: References: NNTP-Posting-Host: 67-130-15-94.dia.static.qwest.net X-Trace: reader1.panix.com 1424905246 29515 67.130.15.94 (25 Feb 2015 23:00:46 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 25 Feb 2015 23:00:46 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:86445 On 2015-02-25, MRAB wrote: > On 2015-02-25 20:45, Mark Lawrence wrote: >> http://www.slideshare.net/pydanny/python-worst-practices >> >> Any that should be added to this list? Any that be removed as not that bad? > > We don't have numeric ZIP codes in the UK, but the entire world has > numeric telephone numbers, That's probably true now, but hasn't always been the case (at least in the US). If you're dealing with historical data, you might need to include the city and exchange name in addition to the 4/5-digit line number. In _most_ multi-exchange service areas, those exchange names have always mapped to a 2-digit number, but I believe there were exceptions. When I were a wee kid in the 60's my phone number was "Cedar 2 ". By then everybody had all-numeric dialing and "Cedar" translated to "23", but it was still common to see phone numbers printed using the exchange names. > so that might be a better example of numbers that aren't really > numbers. -- Grant Edwards grant.b.edwards Yow! Am I elected yet? at gmail.com