Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail From: Ben Finney Newsgroups: comp.lang.python Subject: Re: Why did Quora choose Python for its development? References: <80d59383-36a3-4744-85c4-1a0577f1d3a6@dr5g2000vbb.googlegroups.com> <12225671E9654FECB49613D915FAEC19@teddy> <21A740B7AC6644248476DFADDF726C73@octavian> <629DAC3611EA49B0A36BCF70151CDE2F@octavian> <87sjs44qyk.fsf@castleamber.com> <87zkmcujl4.fsf@castleamber.com> <20110524133902.b5ad22b1.darcy@druid.net> <87vcwzyoos.fsf@castleamber.com> <87mxiasid4.fsf@castleamber.com> <94709uF99gU5@mid.individual.net> X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney Date: Thu, 26 May 2011 23:11:09 +1000 Message-ID: <874o4hbo9e.fsf@benfinney.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:KIpuS0KB8qmFwuwk5YXa+NkjD5I= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 37 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: e462e4ab.news.astraweb.com X-Trace: DXC=F0TDhU@:TMX40PdiKi@9HQL?0kYOcDh@Z7^o:UA4R?cUgNUH?V8:>H]]G;2>V^?kWSbEW9A[5UK?UNZ[SL`C\KgS`ThT writes: > Also, the purpose of source code is to transmit information (to both > the compiler and to human readers). And the relative importance of readability for those two purposes is often misunderstood. Composing source code so that the *machine* will understand it is one thing, and can be unambiguously verified. Composing the same source code so that its meaning will be clearly transmitted to *other humans* is quite another matter: certainly more difficult, and arguably far more important: “Programs must be written for people to read, and only incidentally for machines to execute.” —Abelson & Sussman, _Structure and Interpretation of Computer Programs_ > Sometimes, the real enjoyment (in literature) comes in figuring out > what the author really meant. Right. Unlike that kind of writing, in functional code like a computer program, ambiguity of meaning is a curse. Programmers, if you feel the urge to be subtle and clever and nuanced, take up poetry or literature as a separate pursuit. In your program source code, please be as straightforward and unambiguous and predictable as possible. -- \ “Very few things happen at the right time, and the rest do not | `\ happen at all. The conscientious historian will correct these | _o__) defects.” —Mark Twain, _A Horse's Tale_ | Ben Finney