Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64765
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-01-26 00:05 -0800 |
| References | (8 earlier) <52e473fc$0$29999$c3e8da3$5496439d@news.astraweb.com> <lc1st6$c73$1@ger.gmane.org> <mailman.5987.1390709179.18130.python-list@python.org> <c59142ff-1ca7-490d-8280-2d285514a0c5@googlegroups.com> <mailman.5988.1390713821.18130.python-list@python.org> |
| Message-ID | <3683cd10-592b-4a3d-ba77-b963a1aa2282@googlegroups.com> (permalink) |
| Subject | Re: Python declarative |
| From | Rustom Mody <rustompmody@gmail.com> |
On Sunday, January 26, 2014 10:53:32 AM UTC+5:30, Chris Angelico wrote: > On Sun, Jan 26, 2014 at 3:47 PM, Rustom Mody wrote: > > On Sunday, January 26, 2014 9:36:15 AM UTC+5:30, Chris Angelico wrote: > >> Code isn't something to be afraid of. It's just text files like any > >> other. After all, Python code is a config file for /usr/bin/python, so > >> if you want to change what Python does, just edit its config file! > > Windows stores configuration in the registry -- by fiat > > Linux (posix) stores configuration in /etc + ~/.files -- by convention > > Which do you think is preferable? > Not exclusively, in either case. Many many things are config files of > various sorts. The terms of the GPL specifically state that a GPL'd > language does not enforce that code written in it is GPL'd, because > it's just (to the GPL code) data files. Ok so you are being careful and hedging your bets!! [And Ive no idea what the gpl has to do with this] If you see the 'Principle of Least Power here: http://www.w3.org/DesignIssues/Principles.html there is a spectrum of power from narrow data format to universal data format to Turing complete programming language. And a strong case is made for minimizing the 'power' in any application. By decreeing things about the registry, windows solves many problems that create unnecessary headaches for developers, packagers, uses with the laissez-faire approach of 'put whatever you like in /etc.' This follows from the principle: "Anything goes" applied to /etc means messes go in. Its harder to push messes into a dictat-ed registry Steven's link http://www.codinghorror.com/blog/2008/05/xml-the-angle-bracket-tax.html linked to http://nothing-more.blogspot.in/2004/10/where-xml-goes-astray.html explains what the real problem is: Xml, originally a document format, is nowadays used as a data-format. This conduces to humongous messing, first for the xml-library writers, and thence to the users of those libraries because library messes inevitably leak past abstraction barriers to cause user-programmer headaches. tl;dr Frank's principle: "Express little as possible in <programming language>" is correct. "And therefore XML is the solution" is bad logic [Unless <programming language> == "java" !]
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python declarative Sergio Tortosa Benedito <sertorbe@gmail.com> - 2014-01-15 18:02 +0100
Re: Python declarative Francesco Bochicchio <bieffe62@gmail.com> - 2014-01-17 06:22 -0800
Re: Python declarative Francesco Bochicchio <bieffe62@gmail.com> - 2014-01-19 23:25 -0800
Re: Python declarative sertorbe@gmail.com - 2014-01-17 06:47 -0800
Re: Python declarative Tim Roberts <timr@probo.com> - 2014-01-18 13:13 -0800
Re: Python declarative sertorbe@gmail.com - 2014-01-19 02:27 -0800
Re: Python declarative sertorbe@gmail.com - 2014-01-22 12:38 -0800
Re: Python declarative Asaf Las <roegltd@gmail.com> - 2014-01-22 13:16 -0800
Re: Python declarative Chris Angelico <rosuav@gmail.com> - 2014-01-23 13:29 +1100
Re: Python declarative Terry Reedy <tjreedy@udel.edu> - 2014-01-22 23:08 -0500
Re: Python declarative "Frank Millman" <frank@chagford.com> - 2014-01-24 11:21 +0200
Re: Python declarative Rustom Mody <rustompmody@gmail.com> - 2014-01-24 01:53 -0800
Re: Python declarative "Frank Millman" <frank@chagford.com> - 2014-01-24 15:06 +0200
Re: Python declarative Chris Angelico <rosuav@gmail.com> - 2014-01-24 22:18 +1100
Re: Python declarative "Frank Millman" <frank@chagford.com> - 2014-01-24 14:49 +0200
Re: Python declarative Burak Arslan <burak.arslan@arskom.com.tr> - 2014-01-24 15:40 +0200
Re: Python declarative Chris Angelico <rosuav@gmail.com> - 2014-01-25 00:55 +1100
Re: Python declarative Matěj Cepl <mcepl@redhat.com> - 2014-01-24 17:28 +0100
Re: Python declarative Chris Angelico <rosuav@gmail.com> - 2014-01-25 03:33 +1100
Re: Python declarative sertorbe@gmail.com - 2014-01-24 10:51 -0800
Re: Python declarative "Frank Millman" <frank@chagford.com> - 2014-01-25 09:18 +0200
Re: Python declarative Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-26 02:33 +0000
Re: Python declarative Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-26 02:45 +0000
Re: Python declarative Asaf Las <roegltd@gmail.com> - 2014-02-02 18:17 -0800
Re: Python declarative Chris Angelico <rosuav@gmail.com> - 2014-01-26 14:38 +1100
Re: Python declarative Chris Angelico <rosuav@gmail.com> - 2014-01-26 15:06 +1100
Re: Python declarative Rustom Mody <rustompmody@gmail.com> - 2014-01-25 20:47 -0800
Re: Python declarative Chris Angelico <rosuav@gmail.com> - 2014-01-26 16:23 +1100
Re: Python declarative Rustom Mody <rustompmody@gmail.com> - 2014-01-26 00:05 -0800
Re: Python declarative "Frank Millman" <frank@chagford.com> - 2014-01-26 11:12 +0200
Re: Python declarative Rustom Mody <rustompmody@gmail.com> - 2014-01-26 06:36 -0800
Re: Python declarative Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-26 12:05 +0000
Re: Python declarative "Frank Millman" <frank@chagford.com> - 2014-01-26 08:03 +0200
Re: Python declarative Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-26 12:21 +0000
Re: Python declarative Chris Angelico <rosuav@gmail.com> - 2014-01-25 18:33 +1100
Re: Python declarative matej@ceplovi.cz (Matěj Cepl) - 2014-01-25 12:23 +0100
Re: Python declarative Asaf Las <roegltd@gmail.com> - 2014-01-24 04:04 -0800
csiph-web