Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feed.xsnews.nl!border-1.ams.xsnews.nl!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'languages,': 0.03; 'subject:Python': 0.05; 'forcing': 0.07; '21,': 0.09; 'differently,': 0.16; 'does,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'syntactic': 0.16; 'wed,': 0.17; 'wrote:': 0.18; 'seems': 0.20; 'received:209.85.210.174': 0.21; 'received:mail-iy0-f174.google.com': 0.21; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'steve': 0.24; 'saying': 0.26; '(in': 0.26; 'code': 0.26; 'sound': 0.28; 'message- id:@mail.gmail.com': 0.29; 'pm,': 0.29; 'syntax,': 0.30; 'usually': 0.31; 'quite': 0.31; 'yet': 0.32; 'identical': 0.34; 'latter': 0.34; 'to:addr:python-list': 0.35; 'something': 0.35; 'but': 0.37; 'received:google.com': 0.37; 'skip:" 10': 0.37; 'received:209.85': 0.38; 'first.': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'follow': 0.61; 'howell': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=T8mFB0vWqHzppUvOiulCzDSijFQZzWiUUacT/iWF3zk=; b=vhtE5FsLlwY00CqS2jOONU6/1HxgBglkpJwepJA88SNcJQj7LQCXBm3E2p3JOge16v i8makwb9l1iYz6zjOxhA6ohLkKdX2qRbdkt5Lbbahu84DCdulSZWRV7HD638uJmoxxPN IT0dwX3akxtBw3CI2xvthxyoO1RFCxua19/sVHzfWbydGBqyinvgnITjWOs6WXIhoDl/ +QNgXdRraEV3EhLDHgjVdvbzAErtc7gZ9fXh+VhNBg20l8gEoQ/rGmp40lUyyh78qJBd krLN4qatZ+E/vxuw3IgHWbKpPaBS3Hw0ZN2o2Q8Z3/q3LzrwuAcUqUtOBjydiib2iIkd f46A== MIME-Version: 1.0 In-Reply-To: References: <4f612b19$0$1379$4fafbaef@reader2.news.tin.it> <8e72d74f-c844-4de3-8a37-f6b1fdc2291f@y27g2000yqy.googlegroups.com> <50e9ceec-40f1-4ead-b2b6-87328b30d084@ow8g2000pbc.googlegroups.com> <4f691f3d$0$29981$c3e8da3$5496439d@news.astraweb.com> <87d386lmai.fsf@benfinney.id.au> <8a77bf8d-b12f-442b-a1a3-479b5d66d366@tx8g2000pbc.googlegroups.com> Date: Wed, 21 Mar 2012 16:40:18 +1100 Subject: Re: Python is readable From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1332308421 news.xs4all.nl 6986 [2001:888:2000:d::a6]:44062 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21972 On Wed, Mar 21, 2012 at 3:58 PM, Steve Howell wrote: > So saying "push(stack, item)" or "push(item, stack)" seems very > unsophisticated, almost assembly-like in syntax, albeit at a higher > level conceptually than assembly. Perhaps it does, but "push(stack, item)" and "stack.push(item)" are so close to identical as makes no odds (in a number of languages, the latter is just syntactic sugar for something like the former) - yet they "read" quite differently, one with verb first, one with noun first. Code doesn't follow the same grammar as English prose, and forcing it to usually makes it sound odd. Reader.can_comprehend(code) is True. ChrisA