Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.159 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.70; '*S*': 0.02; 'assuming': 0.09; 'literal.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'integer': 0.24; 'looks': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'fri,': 0.33; 'knows': 0.35; 'received:google.com': 0.35; 'too': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'course': 0.61; "you're": 0.61; 'name': 0.63; '2015': 0.84; 'different.': 0.84; 'besides,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=6prkCjKKPeUBNPlvHUWtjZm9JU3Jfq/mSU+pWviX5tM=; b=M5ahcNNbCD0pOLp/IUbJcVIWfzsl30vdb9s/s0IYOGoWCfOTs5CB7kGH//2ASwT3g3 tgoEbWZbXz1o3Gl5mCNukIegA1H050AEAgLeqtO6xp5H+27mH5QijYbiMerejyer/qia w5Zaf9x0wyGjcIUzRV/QqCViEggdZh4DjjlVb8p00GQC0PS8lbDio29tOZumZBdXasHz Xv3+I54t4pjRZ0M+uGOTQsikIKOSFGZ8BR4XON40aWqlH17VZQfdjCbaaQLT9+rx7twf CxH5dVKrALKGFMGSGvrWQAa6IqK0kDZy0Vu3S0wzzj0YqO+mIVrgnZXtZ75Vc3K9AZBR oEMw== X-Received: by 10.107.17.29 with SMTP id z29mr20020322ioi.69.1430602415019; Sat, 02 May 2015 14:33:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <87k2wtvbx1.fsf@Equus.decebal.nl> <5543041d$0$12996$c3e8da3$5496439d@news.astraweb.com> From: Ian Kelly Date: Sat, 2 May 2015 15:32:54 -0600 Subject: Re: l = range(int(1E9)) To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1430602423 news.xs4all.nl 2873 [2001:888:2000:d::a6]:54695 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89803 On Sat, May 2, 2015 at 3:28 PM, Tony the Tiger wrote: > On Fri, 01 May 2015 14:42:04 +1000, Steven D'Aprano wrote: > >> use "l" as a variable name, as it looks too much like 1 > > If you use a better font, they are very different. Besides, a variable > name cannot start with a digit (nor can it be a single digit), so it's a > given that it's an 'l'. Of course it can be a single digit. You're assuming that the person reading the code already somehow knows that this is a variable name and not an integer literal.