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-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 08:58:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!tor-nx1.netcom.ca!news1.tor.metronet.ca!nnrp1.tor.metronet.ca!not-for-mail Message-ID: <3CADD77C.5010100@home.com> From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.arch,comp.lang.ada Subject: Re: Language support for flexible handling of system-detected errors. References: <3CA0A166.501E1D68@despammed.com> <3CAC8552.5060107@home.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 05 Apr 2002 16:57:33 GMT NNTP-Posting-Host: 198.96.47.195 NNTP-Posting-Date: Fri, 05 Apr 2002 09:57:33 MDT Organization: MetroNet Communications Group Inc. Xref: archiver1.google.com comp.arch:26492 comp.lang.ada:22157 Date: 2002-04-05T16:57:33+00:00 List-Id: Marin David Condic wrote: > As for the comments? A lot of them have to do with trying to impose a very > specific structure on a program to utilize the GUI programming model that > MSVC++ defines. They're going "You have to write your program *this way* if > you want to integrate with the GUI builder and have all the code generation > we can do for you..." I'd suspect this might be easier to do in Ada, but you > might still have to come up with some kludges to get the source code to line > up with what the GUI builder is doing. > > MDC 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