Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'background.': 0.03; 'wed,': 0.03; 'subject:Python': 0.06; 'backwards': 0.07; 'convention.': 0.07; 'does.': 0.07; 'variable,': 0.07; 'integers': 0.09; 'likewise,': 0.09; '>>>': 0.12; '25,': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'integers.': 0.16; 'lowercase': 0.16; 'obvious.': 0.16; 'range.': 0.16; 'roy': 0.16; 'stupid,': 0.16; 'math': 0.16; 'received:74.125.82.174': 0.16; 'received:mail- wy0-f174.google.com': 0.16; 'cc:addr:python-list': 0.17; 'header :In-Reply-To:1': 0.21; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; 'integer': 0.23; 'wonder': 0.23; 'url:mailman': 0.26; 'message-id:@mail.gmail.com': 0.28; '(as': 0.29; 'subject:?': 0.29; 'cc:addr:python.org': 0.30; 'second': 0.30; 'url:listinfo': 0.30; '-0400': 0.30; 'confused': 0.30; 'anyone': 0.32; 'steven': 0.32; 'one,': 0.34; 'however,': 0.34; 'that,': 0.34; "d'aprano": 0.35; 'using': 0.35; 'probably': 0.36; 'received:google.com': 0.37; 'something': 0.37; 'two': 0.37; 'url:python': 0.38; 'received:74.125.82': 0.38; 'received:74.125': 0.38; 'url:org': 0.38; 'easiest': 0.38; 'subject:: ': 0.38; 'doing': 0.39; 'anything,': 0.73; 'hate': 0.73; 'learned': 0.73; '10:56': 0.84; 'namely': 0.84; 'remembering': 0.84; 'subject:Why': 0.84; 'subject:choose': 0.84; 'subject:its': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+tdtM60gJNrKn97w3PjYnkdUx7/AtEGzo2QeyFXkL5o=; b=bZYJKDHzB4877yPfP7+9TExrv7rMVIN7OsS9/ZrZLVA7cw8EGxSG6ZEjBWH4uiA4DN lut+4/GtMjXGCwO+Z4+4tn5ubSAZ9aLodf/jlpIm/o2v3d2FDUnw1qjNvd0lIrG9TD+J DGiryXIFMnfUu22exvs5hRtZH3PZixd6J8akM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KcXGPcUE0PyXHZ7KVUm+MQs6vu4r7H7ISvW0cq3ketJmM/dPrkJDluywNMnsp9WNJ2 /EHhnmqSouNoTAgTOQCCBmTadkfCHjXfGOVOD/kGvnxGpBjmXq+1R7JVkmQd0/YZiH5E TiDXp89ZrXdPx3lPgFDDkzLNAsrzuZoscf/K4= MIME-Version: 1.0 In-Reply-To: <4ddd188b$0$29996$c3e8da3$5496439d@news.astraweb.com> References: <12225671E9654FECB49613D915FAEC19@teddy> <21A740B7AC6644248476DFADDF726C73@octavian> <629DAC3611EA49B0A36BCF70151CDE2F@octavian> <87sjs44qyk.fsf@castleamber.com> <87zkmcujl4.fsf@castleamber.com> <20110524133902.b5ad22b1.darcy@druid.net> <4ddd188b$0$29996$c3e8da3$5496439d@news.astraweb.com> Date: Wed, 25 May 2011 11:43:20 -0400 Subject: Re: Why did Quora choose Python for its development? From: Matty Sarro To: "Steven D'Aprano" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: 38 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306338201 news.xs4all.nl 49182 [::ffff:82.94.164.166]:41382 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6248 I hate using L for anything, namely because if you type it lowercase you always have to wonder if its an l or a 1 in a terminal window. -Matthew On Wed, May 25, 2011 at 10:56 AM, Steven D'Aprano wrote: > On Wed, 25 May 2011 10:23:59 -0400, D'Arcy J.M. Cain wrote: > >> On Wed, 25 May 2011 07:36:40 -0400 >> Roy Smith wrote: >>> Remembering that I, J, K, L, M, and N were integer was trivial if you >>> came from a math background. =C2=A0And, of course, Fortran was all abou= t >> >> The easiest way to remember was that the first two letters of INteger >> gave you the range. > > Huh. I never knew that. I just learned from use that I, J, K, M and N > were traditionally integers. I never used L for an integer variable, and > don't know anyone who does. > > I for integer is obvious. If you need a second one, you use the next > letter J, and if you need a third, the one after that, K. If you need > four, you're probably doing something wrong. > > Likewise, N for number (as in, *counting* number). If you need two, using > N and O is stupid, because O can be confused with 0, so you go backwards > and use M. > > However, using P and Q for integers is merely arbitrary convention. > > > > -- > Steven > -- > http://mail.python.org/mailman/listinfo/python-list >