9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <aam396@mail.usask.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] vga and ethernet
Date: Wed,  1 Aug 2001 10:59:03 -0700	[thread overview]
Message-ID: <Pine.SGI.4.10.10108011051320.758-100000@irixbum.ca> (raw)
In-Reply-To: <20010801165316.7E8D119A3F@mail.cse.psu.edu>

When I was much younger than today (hehe) and was making my first steps in
the fine art of debugging my own programs, I read something that stuck with
me forever -- one's programs will be much more readable if ambiguity over
character interpratation (l vs 1 vs I, O vs 0 in some fonts, etc) is
avoided. I.e. choose variable names wisely so that they can't be
misinterpreted by the reader...

I am left with the impression that I read it initially in 'the practice of
programming' but I couldn't find it anywhere in my copy of the book, so I
can't attribute it to anyone right now :(

andrey

On Wed, 1 Aug 2001 baldwin@vitanuova.com wrote:

> it's '#I0', not '#10' -- that's I (eye), not 1 (one),
> followed by 0 (zero), not O (oh).
> 
> 



  reply	other threads:[~2001-08-01 17:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-01 16:53 baldwin
2001-08-01 17:59 ` andrey mirtchovski [this message]
2001-08-03  9:05   ` Ralph Corderoy
2001-08-04  1:09     ` Boyd Roberts
  -- strict thread matches above, loose matches on Subject: below --
2001-08-01 17:09 Dean Ash
2001-07-31 19:07 [9fans] vga and Ethernet Dean Ash
2001-07-31 12:04 [9fans] vga and ethernet presotto
2001-07-31  3:41 Dean Ash
2001-07-31  4:08 ` Lucio De Re

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SGI.4.10.10108011051320.758-100000@irixbum.ca \
    --to=aam396@mail.usask.ca \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).