Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'readable': 0.09; 'am,': 0.12; 'code).': 0.16; 'does,': 0.16; 'eax': 0.16; 'eax,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; '\xa0for': 0.16; 'wrote:': 0.18; 'level,': 0.18; 'thus': 0.21; 'received:209.85.210.174': 0.21; 'received:mail-iy0-f174.google.com': 0.21; 'header:In-Reply-To:1': 0.22; 'equally': 0.23; 'elements': 0.24; 'function': 0.27; '(you': 0.28; 'second': 0.28; 'message-id:@mail.gmail.com': 0.29; 'sun,': 0.30; "can't": 0.33; 'especially': 0.34; 'to:addr:python-list': 0.35; 'sets': 0.35; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'could': 0.38; 'should': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'more': 0.61; 'high': 0.66; 'low': 0.74 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:content-transfer-encoding; bh=2ZSvS5ovktRby+VWKbptOSTEnyccbCx/Oo2A3AN0RFo=; b=ygpLYMrWIEcgjUNvDuMmqGFED6GP6JePLPWU7HIqoC8O6fHAroEip3OidtsGyTYQup zfQbG9a7dt8ZBELBKOanGtu6HxPxKYKPLSvSkx80k37S2ITIs49QXG7zgwlkymuR97Xk FkHcz+TsmovWhEePR7PZwUHcwhWqX7FZ2vfrAr7WNbqUl+CNgq6Y0zlmMK772w31sc50 cpvn2KIYjvs6rxSKg7WlpymcDCvSm9nz9DljFwOfh6bIVEhAxvybW98jsy7nivCnTlXf lwUbIMd8la9dJKWUGULuZufageEX1sTqiuIQy93QSEtQvvKxjCbwdMD0qgEs09gQ0lsf YN9g== MIME-Version: 1.0 In-Reply-To: <4f64ed2e$0$1389$4fafbaef@reader1.news.tin.it> 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> <4f61c828$0$1390$4fafbaef@reader2.news.tin.it> <4f61d728$0$1375$4fafbaef@reader2.news.tin.it> <4f61fd0a$0$1389$4fafbaef@reader2.news.tin.it> <4f620837$0$1382$4fafbaef@reader2.news.tin.it> <4f627c25$0$1381$4fafbaef@reader2.news.tin.it> <4f62b9be$0$29981$c3e8da3$5496439d@news.astraweb.com> <4f632da5$0$1375$4fafbaef@reader1.news.tin.it> <4f636ed5$0$29981$c3e8da3$5496439d@news.astraweb.com> <4f64ed2e$0$1389$4fafbaef@reader1.news.tin.it> Date: Sun, 18 Mar 2012 08:20:14 +1100 Subject: Re: Python is readable 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1332019217 news.xs4all.nl 6882 [2001:888:2000:d::a6]:49088 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21833 On Sun, Mar 18, 2012 at 6:59 AM, Kiuhnm wrote: > Could you please explain to me in which way > =A0 =A0mov eax, 3 > should be less readable than > =A0 =A0for i in x: print(i) > ? They are equally readable. The first one sets EAX to 3; the second displays all elements of x on the console. Assembly is readable on a very low level, but it's by nature verbose at a high level, and thus less readable (you can't eyeball a function and know exactly what it does, especially if that function spans more than a screenful of code). ChrisA