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


Groups > comp.lang.python > #86490

Re: Python Worst Practices

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From cl@isbd.net
Newsgroups comp.lang.python
Subject Re: Python Worst Practices
Date Thu, 26 Feb 2015 10:09:27 +0000
Lines 18
Message-ID <nv73sb-j98.ln1@esprimo.zbmc.eu> (permalink)
References <mclca6$iie$1@ger.gmane.org> <mailman.19241.1424926390.18130.python-list@python.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace individual.net BytR76UHz59IpbHbIdp/rQGyHhtz2bn/Dv37ueTSxMG+KS1jg=
X-Orig-Path not-for-mail
Cancel-Lock sha1:/NNS69GcZ0lNJhbGbfAyQb1HrEY=
User-Agent tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.16.0-31-generic (x86_64))
Xref csiph.com comp.lang.python:86490

Show key headers only | View raw


Ian Kelly <ian.g.kelly@gmail.com> wrote:
> On Wed, Feb 25, 2015 at 1:45 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> 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?
> 
> Using XML for configuration is a good example of a worst practice, but
> using Python instead isn't best practice. There are good arguments
> that a configuration language shouldn't be Turing-complete. See for
> instance this blog post: http://taint.org/2011/02/18/001527a.html
> 
I agree wholeheartedly about XML, it's just not designed for what half
the world seems to be using it for.  Rather like HTML in a way, that
should have been a proper mark-up language.

-- 
Chris Green
ยท

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


Thread

Re: Python Worst Practices Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-25 21:52 -0700
  Re: Python Worst Practices cl@isbd.net - 2015-02-26 10:09 +0000

csiph-web