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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,501ec19d1d81daee X-Google-Attributes: gid102b75,public X-Google-Thread: 103376,db9a11afb3da4240 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-05 21:22:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!newsxfer.visi.net!154.32.99.10.MISMATCH!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.arch,comp.lang.ada Subject: Re: Language support for flexible handling of system-detected errors. Date: Fri, 5 Apr 2002 13:07:30 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <3CA0A166.501E1D68@despammed.com> <3CAC8552.5060107@home.com> <3CADD77C.5010100@home.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1018030052 12389 136.170.200.133 (5 Apr 2002 18:07:32 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 5 Apr 2002 18:07:32 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.arch:26511 comp.lang.ada:22175 Date: 2002-04-05T18:07:32+00:00 List-Id: I have not programmed MSVC++ in quite some time, so my memory of all the situations there has faded. (Time heals all wounds. :-) I have not spent any time considering how one might go about getting similar effects into Ada with or without comment markers. I suspect that mostly, you're right - you could probably auto-generate a variety of packages that are auto-withed into code the programmer has to develop & cover most of the territory. I'm just suspicious that given the mission of duplicating the programming model and all of its capabilities, there might be some burrs hanging off the edges that you'd have a hard time finding a good way of doing without some kind of kludge. Of course, one might want to ask the question "why bother duplicating the MSVC++ model at all?" I could imagine better ways of doing it might be possible. If you start with a solid base, you can keep polishing and polishing it for years. But if the base is no good, you're just polishing a turd. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Warren W. Gay VE3WWG" wrote in message news:3CADD77C.5010100@home.com... > > I'm not so sure that these kludges would be necessary for Ada, > for GUI or any other "wizard" IDE feature. With Ada's strong typing > features and ASIS "smarts", you should be able to locate the objects > or procedure calls that need tweaking by semantic analysis. If not > by type alone, then by type and pre-arranged name (within scoping > rules). > > The only case that I can currently imagine a need for a place-holder > comment, might be when you need to mark the spot for the currently > "empty-set" of something. But even there, if the package/object is > structured a certain way, even that should be deducible. > > While I didn't pursue Borland's Delphi much, I was impressed by the > general lack of such muck. IIRC, Delphi never needed > any comments to locate objects of interest in the code. > -- > Warren W. Gay VE3WWG > http://home.cogeco.ca/~ve3wwg >