Re: Real Time IO routines answering Simon Wright part 2



On Oct 30, 9:35 am, a...@xxxxxxxx (anon) wrote:

-- Where did I get the information that IMAGE should be use for
-- debugging only? A few Ada conferences back in the early to
-- mid 1990's dealing with Ada programming and debugging
-- techniques.

To be precise, that should be called "opinion", not "information".
OK, so I wasn't at the conferences you mention, so I really don't know
how this "information" was presented or what the context was. There
may have been reasons for discouraging its use---the secondary stack
may be one reason; another possible reason is that less-experienced
programmers were prone to misuse 'Image. Or it could have been due to
efficiency concerns with passing unconstrained arrays around. Or it
could have just been someone's personal idea about what Ada was
"supposed" to be. Of course, there is no shortage of people who have
difficulty distinguishing their own opinions from factual
information.

If the "information" was that there was a consensus in the Ada
community that 'Image was to be avoided, maybe that was true---I don't
know---but on the other hand, I suspect that if it were true then
'Image wouldn't have been expanded. In Ada 83, you could not use
'Image on floating or fixed-point types; in Ada 95, this capability
was added. It would seem a little odd for those who decided on what
would be added to Ada 95---who are about as far from "newbie" as you
can get---to add this feature if there was a consensus that 'Image was
a bad thing. Also, the responses on this thread (from people with a
lot of Ada experience) seem to indicate that there is no such
consensus.

Anyway, I can imagine that 'Image may be misused sometimes, and that
some people felt it should be discouraged. But it's a big jump to go
from there to the absolute statements you made that Ada purists
"NEVER" use it, or that it is never used except for debugging, or that
practically only newbies use it. Those statements are still nonsense.

-- Adam


.



Relevant Pages

  • Re: Ada for embedded
    ... i want to learn how to use ada in embedded system programming ... I have been part of a team developing an ADA application for an embedded ... initialization and I/O operations). ... The debugging is quite different: ...
    (comp.lang.ada)
  • Re: Ada Programming now a featuresd book
    ... Ada Programming is now a Ada featured book on Wikibooks. ... another markup language. ...
    (comp.lang.ada)
  • Re: Type safety on wikipedia
    ... > Martin Krischik wrote: ... > easily doable in Ada. ... The Wikipage describes a stricter rule to the term "type save" then most Ada ... Ada programming at: http://ada.krischik.com ...
    (comp.lang.ada)
  • Re: Type safety on wikipedia
    ... >> This is something I've mused about sometimes: Let's suppose some Ada ... >> compiler goes ahead and provides a GC. ... > 13.11.2only says that Free _should_ reclaim the storage. ... Ada programming at: http://ada.krischik.com ...
    (comp.lang.ada)
  • Re: Distro with the best Ada development environment?
    ... is responsible for Ada in Debian. ... There is an overview of most Ada distributions in the Ada Programming ...
    (comp.lang.ada)