Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #86445

Re: Python Worst Practices

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: Python Worst Practices
Date 2015-02-25 23:00 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <mclk6u$sqb$1@reader1.panix.com> (permalink)
References <mclca6$iie$1@ger.gmane.org> <mailman.19219.1424899701.18130.python-list@python.org>

Show all headers | View raw


On 2015-02-25, MRAB <python@mrabarnett.plus.com> 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 <yadda
yadda yadda yadda>". 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            

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Python Worst Practices MRAB <python@mrabarnett.plus.com> - 2015-02-25 21:28 +0000
  Re: Python Worst Practices Grant Edwards <invalid@invalid.invalid> - 2015-02-25 23:00 +0000
  Re: Python Worst Practices wxjmfauth@gmail.com - 2015-02-25 23:03 -0800

csiph-web