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.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.06; 'dictionary': 0.07; 'indentation': 0.07; 'confuse': 0.09; 'received:mail-bw0-f46.google.com': 0.09; 'programmer': 0.11; 'list...': 0.16; 'received:209.85.214.46': 0.16; 'syntactical': 0.16; 'programming': 0.19; 'seems': 0.21; '(but': 0.22; 'wrote': 0.22; 'fine': 0.22; 'complain': 0.23; 'structure': 0.23; 'creating': 0.24; 'code': 0.24; 'language.': 0.28; 'received:209.85.214': 0.28; 'lee': 0.29; 'subject:?': 0.29; '"in': 0.30; 'x-mailer:microsoft outlook express 6.00.2900.5931': 0.30; 'done': 0.32; 'to:addr:python-list': 0.33; 'there': 0.35; 'languages.': 0.35; 'maintained': 0.35; 'using': 0.35; 'from:': 0.36; 'program,': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; '(by': 0.37; 'desirable': 0.37; 'ways': 0.37; 'could': 0.38; 'subject:: ': 0.38; 'case,': 0.39; 'should': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'feature': 0.40; 'really': 0.40; 'more': 0.60; 'making': 0.67; 'selected': 0.67; 'received:188': 0.69; 'subject:Why': 0.84; 'subject:choose': 0.84; 'subject:its': 0.84; 'few.': 0.93 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=jxhv2bCFYIih6laJXxFUBt4VviI8rzIqBtnpai4xjuQ=; b=WzaTSFx9+2XaHeJq6bTxFpBcvpSmy0mzZ3VuewPguOe66vfWpBuOJlA+kPjR7aG3/a xM4alCl2e28A8sDplhKzThFxg+33zFdQW0fi8iIKDpt9/kIKKZBOZlPFsib6BMv2Te3J QHx1CEziSnPKbwTUwEbSqKfDngLfUmUmnah78= 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=bzd9vD7DOg/ldwAUk1ByMU2ewd70yiuFEuwmxZC0nJjDtS8B3ZI5G0QpCJdUiVAnGo j5sBq/M47fkeP7afi7Rk54MidLO6F6WrQr7GdqilT3ZLaivQl3b1yKPQfEezIvwhy7qY iZZ7Ltx83plaQfc8f/q0dd/UCspW068pHp8Jw= From: "Octavian Rasnita" To: References: <80d59383-36a3-4744-85c4-1a0577f1d3a6@dr5g2000vbb.googlegroups.com><9CDC4B2CD1F445E994119A50F65155DF@teddy><12225671E9654FECB49613D915FAEC19@teddy> Subject: Re: Why did Quora choose Python for its development? Date: Mon, 23 May 2011 08:31:06 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit 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: 1306130820 news.xs4all.nl 49176 [::ffff:82.94.164.166]:37448 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6038 From: "Dennis Lee Bieber" >Since indentation seems so crucial to easy comprehension of the logical >structure of a program, > making it a mandatory syntactical structure becomes a desirable feature > for code that must be maintained (by others, in many cases). Why "in many cases"? I wrote hundreads of programs which are working fine and which are maintained only by me. (But they would be very easy to maintain by other people if it would be necessary). So in that case, why to be forced to use a strict indentation? > As for the dictionary from list... Do not confuse /algorithms/ > selected by the programmer from what is part of the native language. > Otherwise one could complain that there is more than one way to code a > spam-filter using Python... Exactly, I am not talking about a complex task that can be done in many ways in all programming languages. I am talking about a simple way of creating a hash/dict from an array, which is so simple that there should be really a single way to do it, or very few. Octavian