comp.lang.ada
 help / color / mirror / Atom feed
* RE: Cannot use NULL as identifier?
@ 2001-05-30 21:45 Beard, Frank
  2001-05-31 14:53 ` John English
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Beard, Frank @ 2001-05-30 21:45 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'


-----Original Message-----
From: Ted Dennison [mailto:dennison@telepath.com]

> 3) The package ASCII is obsolescent, so I wouldn't use
> it in new code if I were you. You should be using
> "Ada.Characters.Latin_1.Nul".

As Ben Brosgol pointed out, ASCII was obsolescent before
the ASCII standard was expanded to include characters 128
through 255.  So, the odds of ASCII becoming obsolete are
slim to none.  So, I wouldn't worry too much about whether
or not to use ASCII.

Even if it does become obsolete, it is a relatively
simply global substitute to replace "ASCII" with 
"Ada.Characters.Latin_1.Nul", or do a library level rename.
Besides "Ada.Characters.Latin_1.Nul" being ugly to look at,
if for nothing else, I will continue to use ASCII to avoid
the lame analogies of Latin to Ada made by some of the C++
hacks ("A dead language for a dead language").

Frank



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cannot use NULL as identifier?
  2001-05-30 21:45 Cannot use NULL as identifier? Beard, Frank
@ 2001-05-31 14:53 ` John English
  2001-05-31 17:35 ` Ted Dennison
  2001-06-02 10:53 ` Florian Weimer
  2 siblings, 0 replies; 4+ messages in thread
From: John English @ 2001-05-31 14:53 UTC (permalink / raw)


"Beard, Frank" wrote:
> Even if [ASCII] does become obsolete, it is a relatively
> simply global substitute to replace "ASCII" with
> "Ada.Characters.Latin_1.Nul", or do a library level rename.

You'd also have to put "with ASCII" in front of the relevant units,
since it would then be a normal package rather than part of Standard.

-----------------------------------------------------------------
 John English              | mailto:je@brighton.ac.uk
 Senior Lecturer           | http://www.comp.it.bton.ac.uk/je
 Dept. of Computing        | ** NON-PROFIT CD FOR CS STUDENTS **
 University of Brighton    |    -- see http://burks.bton.ac.uk
-----------------------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RE: Cannot use NULL as identifier?
  2001-05-30 21:45 Cannot use NULL as identifier? Beard, Frank
  2001-05-31 14:53 ` John English
@ 2001-05-31 17:35 ` Ted Dennison
  2001-06-02 10:53 ` Florian Weimer
  2 siblings, 0 replies; 4+ messages in thread
From: Ted Dennison @ 2001-05-31 17:35 UTC (permalink / raw)


In article <mailman.991259244.32559.comp.lang.ada@ada.eu.org>, Beard, Frank
says...
>if for nothing else, I will continue to use ASCII to avoid
>the lame analogies of Latin to Ada made by some of the C++
>hacks ("A dead language for a dead language").


There's a point where one can become too sensitive.

C++ hacks are going to crack lame jokes no matter what you do. As a former patsy
in the urban American game sometimes known as "the dozens" (or "snaps"), I can
testify that in a verbal sparring match, the *only* defense is a good offense.


---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
          home email - mailto:dennison@telepath.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cannot use NULL as identifier?
  2001-05-30 21:45 Cannot use NULL as identifier? Beard, Frank
  2001-05-31 14:53 ` John English
  2001-05-31 17:35 ` Ted Dennison
@ 2001-06-02 10:53 ` Florian Weimer
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Weimer @ 2001-06-02 10:53 UTC (permalink / raw)


"Beard, Frank" <beardf@spawar.navy.mil> writes:

> As Ben Brosgol pointed out, ASCII was obsolescent before
> the ASCII standard was expanded to include characters 128
> through 255.

Well, I think I've got a current copy of the ASCII standard, and it
defines only 128 characters...



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-06-02 10:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-30 21:45 Cannot use NULL as identifier? Beard, Frank
2001-05-31 14:53 ` John English
2001-05-31 17:35 ` Ted Dennison
2001-06-02 10:53 ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox