From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,75c440b4b7ed5f91 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!e34g2000pro.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Real Time IO routines answering Simon Wright part 2 Date: Wed, 31 Oct 2007 08:35:55 -0700 Organization: http://groups.google.com Message-ID: <1193844955.601875.108200@e34g2000pro.googlegroups.com> References: <1193410739.367181.96050@50g2000hsm.googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1193844956 19318 127.0.0.1 (31 Oct 2007 15:35:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 31 Oct 2007 15:35:56 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: e34g2000pro.googlegroups.com; posting-host=66.126.103.122; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2680 Date: 2007-10-31T08:35:55-07:00 List-Id: On Oct 30, 9:35 am, a...@anon.org (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