Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.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.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'suppose': 0.05; 'subject:Python': 0.06; 'python': 0.08; 'array.': 0.09; 'ugly': 0.09; 'wrong,': 0.09; 'pm,': 0.10; 'syntax': 0.11; 'wrote:': 0.14; 'ever.': 0.16; 'tue,': 0.17; 'perl': 0.19; 'code.': 0.22; 'received:209.85.161.46': 0.23; 'received:mail- fx0-f46.google.com': 0.23; 'somebody': 0.25; 'received:209.85.161': 0.26; 'string': 0.26; 'example': 0.27; 'subject:?': 0.29; '24,': 0.29; 'array': 0.30; 'syntax,': 0.30; 'x-mailer:microsoft outlook express 6.00.2900.5931': 0.30; 'cases': 0.32; 'to:addr:python-list': 0.33; 'nobody': 0.34; 'showing': 0.34; 'there': 0.35; 'from:': 0.36; 'probably': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'comparing': 0.37; 'case': 0.37; 'think': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'case,': 0.39; 'should': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'plain': 0.40; 'more': 0.60; '5:00': 0.84; 'shortness': 0.84; 'subject:Why': 0.84; 'subject:choose': 0.84; 'subject:its': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:from:to:references:subject:date :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:x-mailer:x-mimeole; bh=9fNiA+ha/DlwX0w7h72yldKm9j1KsOF5BeD0+Bb2a74=; b=HNd7itsFXLmj+5vU/jDeqvOKnT6YFbgfU56XOlYse7/mL3kdVAKrZ2vcXpoV64rcCE jWmmQeBfTPpchV6qYcHcmFUVeJMTErft4U6QKJiClqaCIoaHksA3GS0fSuI+Ypo+wDUA Sl6tV6NQUuYyy1tEfcscueS8eyF/NRGNe/sKY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:references:subject:date:mime-version :content-type:content-transfer-encoding:x-priority:x-msmail-priority :x-mailer:x-mimeole; b=wSdTuYiigNCAYlDhRYFcqOrU+OWWa73HY20tQvn732Ybtegf2b86jyEtFleg0hTVUg jkhu7FiCIrHX7f8vXHwuZBQIpp7uli5K4PEjB5M8Wmn43dve0lZAsWk/6gnRI63L5jUe 412vNbWyh5Yv2pna5F7E1yx+R4nQt2HjM/A/8= From: "Octavian Rasnita" To: References: <80d59383-36a3-4744-85c4-1a0577f1d3a6@dr5g2000vbb.googlegroups.com><9CDC4B2CD1F445E994119A50F65155DF@teddy><12225671E9654FECB49613D915FAEC19@teddy><21A740B7AC6644248476DFADDF726C73@octavian><629DAC3611EA49B0A36BCF70151CDE2F@octavian><57C0AB91B42743E89456ACCC8751CF78@octavian><2C6966D5AB6541E3BCE920FE7883A05B@octavian> Subject: Re: Why did Quora choose Python for its development? Date: Tue, 24 May 2011 19:10:41 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 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: 1306253938 news.xs4all.nl 49038 [::ffff:82.94.164.166]:37665 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6154 From: "Daniel Kluev" > On Tue, May 24, 2011 at 5:00 PM, Octavian Rasnita = wrote: >> And you are telling that in Perl should be used an even more = complicated and >> ugly syntax just for beeing the same as in Python just for showing = that I am >> wrong, but I was comparing just the shortness and cleraness of the = code. >> >> So, again, in Perl is just: >> >> %d =3D @l; >=20 > Once again. Suppose we have array of key-value pairs (two-dimensional > array), This is a forced example to fit the way Python can do it with a clean = syntax, but I don't think there are cases in which somebody wants to = create hashes/dictionaries where the key is not a plain string but an = array. This is not a rare case, but a case that probably nobody needs, ever. Octavian