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


Groups > comp.lang.python > #86443

Re: Python Worst Practices

Date 2015-02-25 21:28 +0000
From MRAB <python@mrabarnett.plus.com>
Subject Re: Python Worst Practices
References <mclca6$iie$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.19219.1424899701.18130.python-list@python.org> (permalink)

Show all headers | View raw


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, so that might be a better example of numbers
that aren't really numbers.

Numeric dates can be ambiguous: dd/mm/yyyy or mm/dd/yyyy? The ISO
standard is clearer: yyyy-mm-dd.

Handling text: "Unicode sandwich".

UTF-8 is better than legacy encodings.

Back to comp.lang.python | Previous | NextNext 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