Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'python': 0.08; 'dict': 0.09; 'not?': 0.09; 'programmer': 0.11; 'syntax': 0.11; 'wrote:': 0.14; '+0300': 0.16; '425': 0.16; 'defending': 0.16; 'obsession': 0.16; 'sees': 0.16; 'cc:addr :python-list': 0.17; 'tue,': 0.17; 'language': 0.18; 'perl': 0.19; 'voting': 0.19; 'header:In-Reply-To:1': 0.21; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; "what's": 0.23; '(or': 0.24; 'creating': 0.24; 'code': 0.24; 'subject:?': 0.29; 'least': 0.30; 'cc:addr:python.org': 0.30; 'programmers': 0.31; 'there': 0.35; 'charset:us-ascii': 0.36; 'something': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'doing': 0.39; 'header:Mime-Version:1': 0.39; 'more': 0.60; 'header:Message-Id:1': 0.62; 'received:208': 0.62; 'url:net': 0.63; 'anything.': 0.72; 'worldwide': 0.78; 'clearer': 0.84; 'democracy': 0.84; 'subject:Why': 0.84; 'subject:choose': 0.84; 'subject:its': 0.84 Date: Tue, 24 May 2011 06:05:35 -0400 From: "D'Arcy J.M. Cain" To: "Octavian Rasnita" Subject: Re: Why did Quora choose Python for its development? In-Reply-To: <2C6966D5AB6541E3BCE920FE7883A05B@octavian> References: <80d59383-36a3-4744-85c4-1a0577f1d3a6@dr5g2000vbb.googlegroups.com> <9CDC4B2CD1F445E994119A50F65155DF@teddy> <12225671E9654FECB49613D915FAEC19@teddy> <21A740B7AC6644248476DFADDF726C73@octavian> <629DAC3611EA49B0A36BCF70151CDE2F@octavian> <57C0AB91B42743E89456ACCC8751CF78@octavian> <2C6966D5AB6541E3BCE920FE7883A05B@octavian> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 26 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306231544 news.xs4all.nl 49184 [::ffff:82.94.164.166]:34186 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6129 On Tue, 24 May 2011 09:00:14 +0300 "Octavian Rasnita" wrote: > So, again, in Perl is just: > > %d = @l; > > Please tell me if Python has a syntax which is more clear than this for > doing this thing. How is that clear? "Shorter" != "clearer." A Python programmer looking at that sees line noise. A Perl programmer looking at "d = dict ([a])" (or even "d = dict(a,)") sees something that has something to do with creating a dictionary. At least he would know in which section of the manual to look for more information. > And again, I am not trolling anything. I am just defending a language which > has a clearer syntax for doing some things, and a shorter code for other Are Perl programmers aware of some imminent worldwide shortage of electrons that Python programmers are not? Why is there this obsession with shortness? -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.