Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'wed,': 0.03; 'instance,': 0.05; 'memory.': 0.05; 'subject:Python': 0.06; 'python': 0.08; '(unless': 0.09; 'php,': 0.09; 'snippets': 0.09; '25,': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'defined': 0.14; '"if"': 0.16; '"while"': 0.16; 'angelico': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'obscure': 0.16; 'perl.': 0.16; 'quote.': 0.16; 'sane': 0.16; 'to"': 0.16; 'worse.': 0.16; "\xa0it's": 0.16; 'looked': 0.16; 'language': 0.18; 'perl': 0.19; 'stick': 0.19; 'programming': 0.19; 'guess': 0.19; 'header:In- Reply-To:1': 0.21; 'variable': 0.21; 'loop': 0.22; 'integer': 0.23; 'received:209.85.210.174': 0.23; 'received:mail- iy0-f174.google.com': 0.23; 'structure': 0.23; "doesn't": 0.25; 'junk': 0.26; 'says': 0.27; "i'm": 0.27; 'message- id:@mail.gmail.com': 0.28; 'beyond': 0.28; '(not': 0.28; 'random': 0.28; 'subject:?': 0.29; 'good.': 0.29; "python's": 0.29; 'fact': 0.30; 'keywords,': 0.30; "can't": 0.32; 'determined': 0.32; 'to:addr:python-list': 0.33; 'actually': 0.33; 'error': 0.33; '...': 0.34; 'chris': 0.34; 'languages': 0.35; 'uses': 0.36; 'received:google.com': 0.37; 'something': 0.37; 'received:209.85': 0.37; 'floating': 0.37; 'keywords': 0.37; 'put': 0.37; 'but': 0.38; 'subject:: ': 0.38; 'comments': 0.39; 'received:209': 0.39; 'either': 0.39; 'to:addr:python.org': 0.39; 'under': 0.40; 'more': 0.60; 'friends': 0.64; 'believe': 0.66; 'refuse': 0.67; 'hate': 0.73; 'learned': 0.73; 'hey,': 0.74; 'god': 0.76; 'cobol': 0.84; 'crunch': 0.84; 'quality;': 0.84; 'subject:Why': 0.84; 'subject:choose': 0.84; 'subject:its': 0.84; 'viable': 0.84; 'flip': 0.91; 'named.': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=dp+7QlWGdTh7xRtSIK4kVjqJTM1CCI+FLPOVeQTA86c=; b=xdJCYGNjekSsJDrKDp296th7pZCWX4TzZbVH3wTEI47ZlSCQEn49wBWiyL8bnZyr8+ 87T+FWuuMRGk08pu+7DJ91ic2IZiy8xKhUdaoEDxkc8X89rwYGxysEFhIIpJUZGMC1lj 1KoS7Q9iPxHCn2QccD9jYKs6LrxmojawJ2HjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=D1X2Oy9VyRjXXq31SW+4Tc0OIBC08Hh7EdK+kmAMgR+xxOEtKPtKo71IhpJfeXcp5e TwXScHz1sy9/SlkQM87wtjYBUZJQz47cHt/jlDSyJlqZUw+IbliiI5divOyFiW+VyrOF wm4NfV5kqljnLJqADd6+MOXiY1mU2ivk07pDo= MIME-Version: 1.0 In-Reply-To: <20110524133902.b5ad22b1.darcy@druid.net> References: <80d59383-36a3-4744-85c4-1a0577f1d3a6@dr5g2000vbb.googlegroups.com> <9CDC4B2CD1F445E994119A50F65155DF@teddy> <12225671E9654FECB49613D915FAEC19@teddy> <21A740B7AC6644248476DFADDF726C73@octavian> <629DAC3611EA49B0A36BCF70151CDE2F@octavian> <87sjs44qyk.fsf@castleamber.com> <87zkmcujl4.fsf@castleamber.com> <20110524133902.b5ad22b1.darcy@druid.net> Date: Wed, 25 May 2011 08:01:38 +1000 Subject: Re: Why did Quora choose Python for its development? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 43 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306274502 news.xs4all.nl 49178 [::ffff:82.94.164.166]:51251 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6178 On Wed, May 25, 2011 at 3:39 AM, D'Arcy J.M. Cain wrote: > My point was that even proponents of the language can make a > significant error based on the way the variable is named. =A0It's like > the old Fortran IV that I first learned where the name of the variable > determined whether it was an integer or a floating point. I believe that's the origin of one of the proofs that God is real (unless declared integer). And hey, I can't hate something that gave us the classic use of i, j, k as loop indices! > One of my favorite quotes (not sure if it was about Perl or APL) is "I > refuse to use a programming language where the proponents of it stick > snippets under each other's nose and say 'I bet you can't guess what > this does.'" Yes, I believe that was Perl. And an amusing quote. But most of the point of it comes from the fact that Perl uses punctuation for most of its keywords, whereas (say) Python uses English words; it's a lot more fun to crunch something down when you can use $| and friends than when you have to put "x and y", complete with spaces, for a simple boolean. But that says nothing about which language is actually better for working with... beyond the fact that Perl can get more mileage out of an 80-character line! > When I first looked at Perl it looked like line noise. =A0When I first > looked at Python it looked like pseudo-code. When I first looked at assembly language it looked like random junk left behind in memory. When I first looked at COBOL it looked like ... COBOL. Doesn't make either of them better or worse. Pseudo-code is not a viable language for a computer to parse, but it's a good language for scribbling down comments in. That doesn't necessarily mean that a programming language that's "closer to" pseudo-code is good. And verbosity doesn't necessarily equate to quality; for instance, when I'm working in both Python and PHP, I find it FAR tidier to use Python's {1:2,3:4] notation than PHP's array(1=3D>2,3=3D>4) - but on the flip side, I would prefer to have program structure defined by keywords like "if" and "while" than obscure random line noise. (Fortunately, most sane languages do indeed use keywords there.) Chris Angelico