Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'subject:Python': 0.06; 'preference': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:blog': 0.10; 'language,': 0.12; 'language.': 0.14; 'expression,': 0.16; 'grounds': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'routinely': 0.16; 'url:ibm': 0.16; 'language': 0.16; 'wrote:': 0.18; 'written': 0.21; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'people,': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'xml': 0.29; 'bad.': 0.31; "d'aprano": 0.31; 'languages:': 0.31; 'steven': 0.31; 'url:05': 0.31; 'url:2008': 0.31; 'worked': 0.33; 'charge': 0.33; 'alone': 0.33; "i'd": 0.34; 'common': 0.35; 'hundreds': 0.35; 'more,': 0.35; 'version': 0.36; 'done': 0.36; "didn't": 0.36; 'too': 0.37; 'being': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'expect': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'most': 0.60; 'simple': 0.61; 'here:': 0.62; 'url:index': 0.63; 'real': 0.63; 'our': 0.64; 'more': 0.64; 'here': 0.66; 'hoping': 0.75; 'horrible': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Python declarative Date: Sun, 26 Jan 2014 02:45:59 +0000 References: <8fde6d34-47c5-49a1-a6d0-9ffe3df2d401@googlegroups.com> <52e473fc$0$29999$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-222-97.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <52e473fc$0$29999$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390704607 news.xs4all.nl 2873 [2001:888:2000:d::a6]:50652 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64758 On 26/01/2014 02:33, Steven D'Aprano wrote: > Here's a simple programming expression, familiar to most people, common > to hundreds of programming languages: > > 3+4*5 > > Here it is written as XML: > > 345 > > Source: > http://www.ibm.com/developerworks/xml/library/x-sbxml/index.html > > More here: > > http://www.codinghorror.com/blog/2008/05/xml-the-angle-bracket-tax.html > http://myarch.com/why-xml-is-bad-for-humans/ > > If you expect a human being to routinely *read*, let alone *write*, XML > in preference to some real programming language, that is a horrible, > horrible thing. Using XML as an internal, machine-generated, format not > intended for humans is not too bad. Anything else is abusive. > If I worked as a consultant I'd much prefer the XML version as I'd be able to charge much more on the grounds that I'd done much more, hoping that the people paying didn't bother with design reviews or the like :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence