From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Book REview
Date: 1996/05/06
Date: 1996-05-06T00:00:00+00:00 [thread overview]
Message-ID: <dewar.831408874@schonberg> (raw)
In-Reply-To: 4mk0vc$opp@goanna.cs.rmit.edu.au
Richard O'Keefe said about Mike Feldman's book:
" SUBTYPE Uppercase IS Character range 'A' .. 'Z';
...
IF Ch IN Uppercase THEN ...
The preface says the programs are intended to be __entirely__ portable;
their emphasis. Too bad about EBCDIC, ISO Latin 1, DOS CP 437, or any
of the IBM, HP, Apple, or other character sets where the capital letters
are not a contiguous range. This method of checking for an upper case
letter simply cannot be used in any character set but ASCII. Now Ada83
was ASCII-only, but Ada95 is not.
"
This is very confused on Richard's part. The Type Character is always
Latin-1, in which 'A'..'Z' is definitely contiguous. The quoted code
is correct Ada. Sure you could have a type EBCDIC which had other
characteristics, but Standard.Character itself is definitely ISO Latin-1.
I can't imagine exactly what gave Richard a contrary impression.
I did not read the rest of Richard's "review" in detail, but I should
say that I have been using this text in my CS2 course at NYU, and I
have found if very effective (I don't like the upper case keywords, but
that's hardly a significant criticism!) I particularly think that the
discussion of generics and abstract data types is well done.
No doubt one can find minor typos, but they have not proved a problem
for us using the book, and the examples on diskette (whcih are really
the only form in which students look at the programs closely) are
accurate.
next prev parent reply other threads:[~1996-05-06 0:00 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-06 0:00 Book REview Richard A. O'Keefe
1996-05-06 0:00 ` Robert Dewar [this message]
1996-05-07 0:00 ` Richard A. O'Keefe
1996-05-08 0:00 ` Michael Feldman
1996-05-09 0:00 ` Richard A. O'Keefe
1996-05-08 0:00 ` Michael Feldman
1996-05-07 0:00 ` Michael Feldman
1996-05-08 0:00 ` Richard A. O'Keefe
1996-05-08 0:00 ` Dave Jones
1996-05-10 0:00 ` Richard A. O'Keefe
1996-05-10 0:00 ` Richard A. O'Keefe
1996-05-13 0:00 ` Dave Jones
1996-05-10 0:00 ` sxc
1996-05-12 0:00 ` dave
1996-05-12 0:00 ` dave
1996-05-13 0:00 ` Richard A. O'Keefe
1996-05-13 0:00 ` Richard A. O'Keefe
1996-05-13 0:00 ` Theodore E. Dennison
1996-05-12 0:00 ` Todd Coniam
1996-05-14 0:00 ` Simon Wright
1996-05-15 0:00 ` sxc
-- strict thread matches above, loose matches on Subject: below --
1996-05-09 0:00 John McCormick
1996-05-12 0:00 Dave
1996-05-13 0:00 ` Tucker Taft
1996-05-13 0:00 ` Theodore E. Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox