Python Worst Practices
cl at isbd.net
cl at isbd.net
Thu Feb 26 05:09:27 EST 2015
Ian Kelly <ian.g.kelly at gmail.com> wrote:
> On Wed, Feb 25, 2015 at 1:45 PM, Mark Lawrence <breamoreboy at 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
·
More information about the Python-list
mailing list