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: 103376,8bc34e14e4555720 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-11 18:31:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!wn3feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc06-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3BC647EE.69B94B34@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GRASP (was Re: This is a simple question) References: <9pk4t7$tbm$1@trog.dera.gov.uk> <87zo762rta.fsf@deneb.enyo.de> <9pkc0r$m5j$1@trog.dera.gov.uk> <9pkddm$afh$1@nh.pace.co.uk> <9pvdp5$8im$1@nh.pace.co.uk> <9pvk11$oke$1@news.huji.ac.il> <3BC35E72.BB1C3188@worldnet.att.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 12 Oct 2001 01:31:04 GMT NNTP-Posting-Host: 12.86.36.108 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc06-news.ops.worldnet.att.net 1002850264 12.86.36.108 (Fri, 12 Oct 2001 01:31:04 GMT) NNTP-Posting-Date: Fri, 12 Oct 2001 01:31:04 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:14353 Date: 2001-10-12T01:31:04+00:00 List-Id: Simon Wright wrote: > > James Rogers writes: > > > That is one of the reasons I like to use GRASP from Auburn University. > > (www.eng.auburn.edu/grasp). > > > > It is as easy to learn as AdaGide. It has a decent integration with the > > debugger, and it allows the user to generate Control Structure > > Diagrams right on the source screen. > > And it also has (well, had last time I came in contact) an > idiosyncratic view of how code should be formatted. Made it a total > pain to use for development under any sort of source code control > system, I thought .. This is somewhat controllable. The automatic fomatting can be customized to an extent. Formatting only happens when you generate CSDs. The source file is only changed if you save after reformatting. If you do not save, you do not suffer source code control confusion. > > .. though perhaps I was just put off by the fact that my work was done > in emacs, and a potential co-worker used GRASP. It was quite > impossible to see where his changes were. This might have revealed a limitation of the process you used. I have found it both reasonable and helpful to document all changes in comments. Source code control systems may be able to identify many changes. They cannot identify the reasons for the changes. The changes should be a response to a documented requirement. > > Do you find the CSDs useful? I recently wrote a 200 line procedure > with no LOOPs, two IFs and a CASE (since removed into a dispatching > operation). The loops went into closed iterators -- so they were > _there_, of course, just not at the application level. In general, yes. Most code does contain some combination of loops, conditionals, type definitions, variable definitions, exception handlers, and possibly multiple return statements in a subprogram. CSDs do help identify these features without causing you to carefully read the code. I find CSDs helpful when preparing for code reviews. Jim Rogers Colorado Springs, Colorado USA