Re: ASCII
Re: ASCII
- Subject: Re: ASCII
- From: John W Baxter <email@hidden>
- Date: Thu, 18 Jan 2001 12:55:21 -0800
At 11:32 -0500 1/18/01, Arthur J Knapp wrote:
>
What *should* be discontinued in the programming world is
>
the use of octal notation. If I read one more darn Unix
>
document that uses octals, I may have to hurt myself. ;-)
And particularly C's (and languages which copy C in this regard) silly rule
that
010 is an octal constant (because of the leading zero). Whereas 08 is
either an error or decimal 8, depending on the C compiler's mood (OK, how
it was implemented).
Octal made sense when I encountered it on the IBM 704 (36-bit words with
subdivisions mostly in multiples of 3 bits (15 bit address, and so on). It
even still made a little sense on the 680x0 family, since the commands had
nice natural 3-bit parts (not necessarily lined up well, however).
--John
--
John Baxter email@hidden Port Ludlow, WA, USA
References: | |
| >Re: ASCII (From: "Arthur J Knapp" <email@hidden>) |