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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'languages,': 0.03; 'subject:Python': 0.06; ':-)': 0.06; 'dictionary': 0.07; 'though.': 0.07; 'typed': 0.07; 'python': 0.08; 'dict': 0.09; 'fewer': 0.09; 'not?': 0.09; 'programmer': 0.11; 'syntax': 0.11; 'wrote:': 0.14; '+0300': 0.16; 'obsession': 0.16; 'obviously,': 0.16; 'perspective': 0.16; 'sees': 0.16; 'things.': 0.16; 'tue,': 0.17; 'language': 0.18; 'errors,': 0.19; 'perl': 0.19; 'java': 0.21; 'maybe': 0.23; 'faster,': 0.23; 'programs.': 0.23; 'received:209.85.161.46': 0.23; 'received:mail- fx0-f46.google.com': 0.23; '(or': 0.24; 'creating': 0.24; 'code': 0.24; 'received:209.85.161': 0.26; 'subject:?': 0.29; 'instead': 0.29; 'least': 0.30; 'clear,': 0.30; 'speakers.': 0.30; 'x-mailer:microsoft outlook express 6.00.2900.5931': 0.30; 'google': 0.31; 'programmers': 0.31; 'usually': 0.32; "can't": 0.32; 'to:addr:python-list': 0.33; 'there': 0.35; 'languages': 0.35; 'using': 0.35; 'from:': 0.36; 'received:google.com': 0.37; 'something': 0.37; 'received:209.85': 0.37; 'but': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'doing': 0.39; 'easier': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'possibility': 0.40; 'more': 0.60; 'harder': 0.65; 'skip:$ 10': 0.66; 'liked': 0.73; 'worldwide': 0.78; '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=P02Uzp5ED9/mmqyzmnGMFs2S7lCih7Ol1S7WkcIJDW0=; b=wptFZEH7V40tzbiAtt0es2WbxUTVm868oaTkht0rR0rt9QnPTpO8a270VedGlaKwjD 6ZFcAi/r3wS2dCDJMRwg0zTPRfser2Pzxb8t2Oy68HqVTMiLQdj7YvE6zjsVxVJsKyzw 9AMJbsajzcEcxiIDvwEBY1nr3SRE/E/8+2ZTY= 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=kZ66iMiMrG5Rx01eb/F/XwQKK5JDJD9fVmReaDM4CF7xUo/VrEdLztpEhsW12R1Rae 0F54kjuXT3nYeiXPrzNr+hLNPqAUZTRK+9+edSHrnqFS9l5eg6CJP59Daq+TkpUL3qT0 tEJmD1bZ/IKpKqOum6BMs7bTLDDq0FiATpex8= 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> <20110524060535.64cfa0ec.darcy@druid.net> Subject: Re: Why did Quora choose Python for its development? Date: Tue, 24 May 2011 19:10:50 +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: 53 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306253938 news.xs4all.nl 49180 [::ffff:82.94.164.166]:37661 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6152 From: "D'Arcy J.M. Cain" > On Tue, 24 May 2011 09:00:14 +0300 > "Octavian Rasnita" wrote: >> So, again, in Perl is just: >>=20 >> %d =3D @l; >>=20 >> Please tell me if Python has a syntax which is more clear than this = for=20 >> doing this thing. >=20 > How is that clear? "Shorter" !=3D "clearer." A Python programmer > looking at that sees line noise. A Perl programmer looking at "d =3D = dict > ([a])" (or even "d =3D 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. The Perl programmers usually don't need to look in the dictionary when = they are creating programs. Perl is harder to learn, but it is easier to use. > Are Perl programmers aware of some imminent worldwide shortage of > electrons that Python programmers are not? Why is there this = obsession > with shortness? A shorter code can be typed faster, obviously, and there are fewer = possibility of appearing errors, but the shortage is not the most = important thing. The most important thing is that the chars @, $, or % are the same in = all languages, while the English words used by the languages that use = many such words are harder to remember especially for the non-native = English speakers. Python is not a very bad language from this = perspective like Java is though. :-) In Perl the programmers can also use English words for some things, like = $OUTPUT_AUTOFLUSH, but personally I never liked those things. Using $| = instead is much shorter and clear, because I don't need to remember the = English words like autoflush, or maybe it was just flush, or it was = autoflush_output, or output_flush... something like $| can't be = forgotten. Yes, I know that the guys from Google would never like that since these = chars are not "Googleable" :-) Octavian