• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ASCII
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Folder Action Scripts
  • Next by Date: Re: Keyboard Question?
  • Previous by thread: Re: ASCII
  • Next by thread: Re: ASCII
  • Index(es):
    • Date
    • Thread