Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'ide': 0.05; 'python)': 0.05; 'compiler': 0.07; 'mess': 0.07; 'python': 0.08; '*you*': 0.09; 'ambiguity': 0.09; 'assumed': 0.09; 'wrote:': 0.15; 'adjacent': 0.16; 'ambiguous': 0.16; 'conceivably': 0.16; '\xc2\xa0you': 0.16; 'cc:addr:python-list': 0.16; 'issue.': 0.19; 'received:74.125.82.44': 0.19; 'received:mail-ww0-f44.google.com': 0.19; '(which': 0.20; 'language': 0.20; 'variable': 0.21; '(like': 0.21; 'cc:2**0': 0.21; 'cc:no real name:2**0': 0.22; 'header:In- Reply-To:1': 0.22; 'vs.': 0.23; 'compiled': 0.23; 'message- id:@mail.gmail.com': 0.28; 'fine.': 0.29; 'cc:addr:python.org': 0.30; 'example': 0.30; 'not.': 0.30; 'shift': 0.30; 'sun,': 0.30; "won't": 0.32; "skip:' 10": 0.32; 'agree': 0.35; '17,': 0.35; 'keys': 0.35; 'matter,': 0.35; 'recognize': 0.35; "isn't": 0.35; 'issue': 0.37; 'keyboard': 0.37; 'languages': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'subject:: ': 0.38; 'received:74.125.82': 0.39; 'might': 0.39; 'received:74.125': 0.40; 'url:co': 0.63; 'harder': 0.64; 'press': 0.72; 'subject:have': 0.74; 'distinguish': 0.84; 'subject:should': 0.84; 'fonts': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=bvSs+LtogmGAB2a53hRVhpPkuXcbOQAHx3fvoDYq2Oc=; b=npAVfLUfeGLxSOKaLAbCYYql3wShQ5MpK0AxVLUZbddytpm+/wKCSLJHULlnbNmUDw ghlsLDtMwZnyH2flx1TsHDXb29PbYGC8k0YseWJJuAIb/wZyr2s+4yqvdNJ1kjA58p76 p1VOe4WYP6eX8MEZBoO4VlHQPPzD/L54q9klE= MIME-Version: 1.0 In-Reply-To: <3045881.7aDLy5kyx7@PointedEars.de> References: <5962940.XCMMzMbfLf@PointedEars.de> <3045881.7aDLy5kyx7@PointedEars.de> Date: Sun, 17 Jul 2011 23:46:02 +0300 Subject: Re: Tabs -vs- Spaces: Tabs should have won. From: Dotan Cohen To: "Thomas 'PointedEars' Lahn" 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1310935566 news.xs4all.nl 23923 [2001:888:2000:d::a6]:35212 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:9750 On Sun, Jul 17, 2011 at 22:53, Thomas 'PointedEars' Lahn wrote: >> It simply isn't an issue. > > Apparently it is *has not been* an issue for *you* *yet*. =C2=A0There are > languages (like Python) that are compiled just-in-time. =C2=A0Besides, ne= ither an > IDE nor a compiler can (always) recognize that foo["b0r"] is not foo["bOr= "] > (which really is not a far-fetched example as the O and zero keys are > adjacent to each other on in keyboard layouts). =C2=A0You do not want suc= h an > ambiguity to bite you later. > I do agree that in a weakly-typed language such as python one might conceivably try to use an undeclared variable and the IDE and compiler won't catch that. However 0 vs. O would more likely be 0 vs. o as one would really have to mess up bad to not only press the wrong key but also hit shift at the same time. 0 and o are no harder to distinguish in a VWF than in a FWF. For that matter, why is it assumed that fixed-width fonts by nature better distinguish 0 from O, or any other ambiguous characters? My current system (Kubuntu 11.04, default VWF font in Firefox whatever it may be) distinguished 0 from O just fine. Also I/1 and l/1 are easy to distinguish, but I agree that I/l are not. --=20 Dotan Cohen http://gibberish.co.il http://what-is-what.com