comp.lang.ada
 help / color / mirror / Atom feed
From: James Rogers <jimmaureenrogers@worldnet.att.net>
Subject: Re: GRASP (was Re: This is a simple question)
Date: Fri, 12 Oct 2001 01:31:04 GMT
Date: 2001-10-12T01:31:04+00:00	[thread overview]
Message-ID: <3BC647EE.69B94B34@worldnet.att.net> (raw)
In-Reply-To: x7vsncs110k.fsf_-_@smaug.pushface.org



Simon Wright wrote:
> 
> James Rogers <jimmaureenrogers@worldnet.att.net> 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



  reply	other threads:[~2001-10-12  1:31 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-05 11:23 This is a simple question Stephen Cole
2001-10-05 12:29 ` Florian Weimer
2001-10-05 13:25   ` Stephen Cole
2001-10-05 13:43     ` Ted Dennison
2001-10-05 13:43     ` Marin David Condic
2001-10-05 20:17       ` David Bolen
2001-10-09 17:56         ` Marin David Condic
2001-10-09 19:15           ` Ted Dennison
2001-10-09 19:40             ` Ehud Lamm
2001-10-09 20:30               ` James Rogers
2001-10-09 20:52                 ` Ehud Lamm
2001-10-10  6:07                 ` GRASP (was Re: This is a simple question) Simon Wright
2001-10-12  1:31                   ` James Rogers [this message]
2001-10-12 13:54                     ` Simon Wright
2001-10-12 16:34                       ` M. A. Alves
2001-10-13  7:40                         ` Simon Wright
2001-10-12 19:08                       ` Matthew Woodcraft
2001-10-09 22:13           ` This is a simple question David Bolen
2001-10-10 14:27             ` Marin David Condic
2001-10-10 19:14               ` Ted Dennison
2001-10-10 20:36               ` Stephen Leake
2001-10-11 13:30                 ` Ted Dennison
2001-10-11  1:01               ` David Bolen
2001-10-11  7:29                 ` Florian Weimer
2001-10-11 13:11                 ` Stephen Leake
2001-10-11 14:56                 ` Marin David Condic
2001-10-11 15:02                   ` Pat Rogers
2001-10-11 17:16                   ` Georg Bauhaus
2001-10-19  1:12                     ` Barry Kelly
2001-10-20 12:19                     ` Florian Weimer
2001-10-11 18:07                   ` Jean-Marc Bourguet
2001-10-10 17:36             ` Stephen Leake
2001-10-10 18:27             ` Florian Weimer
2001-10-11  1:04               ` David Bolen
2001-10-10 17:30           ` Warren W. Gay VE3WWG
2001-10-10 17:58             ` Pascal Obry
2001-10-10 20:39               ` Stephen Leake
2001-10-11 17:05               ` Warren W. Gay VE3WWG
2001-10-10 18:16             ` Larry Kilgallen
2001-10-11 17:17               ` Warren W. Gay VE3WWG
2001-10-10 18:23             ` Florian Weimer
2001-10-10 18:44               ` Pascal Obry
2001-10-11 13:35                 ` Ted Dennison
2001-10-11 17:09                 ` Warren W. Gay VE3WWG
2001-10-15 17:53                   ` Warren W. Gay VE3WWG
2001-10-16 18:06                     ` Georg Bauhaus
2001-10-17 17:13                       ` Warren W. Gay VE3WWG
2001-10-18 13:55                         ` Stephen Leake
2001-10-18 16:09                           ` Warren W. Gay VE3WWG
2001-10-18 18:15                             ` Matthew Woodcraft
2001-10-18 20:52                               ` Warren W. Gay VE3WWG
2001-10-20  9:24                                 ` Matthew Woodcraft
2001-11-09 21:13                                 ` [OT] emacs Matthew Woodcraft
2001-10-11 16:44               ` This is a simple question Georg Bauhaus
2001-10-05 21:00       ` Pat Rogers
2001-10-05 14:59     ` Jacob Sparre Andersen
2001-10-05 17:20       ` Florian Weimer
2001-10-10 10:08       ` Stephen Cole
2001-10-10 16:09         ` Florian Weimer
2001-10-11 13:37         ` Ted Dennison
2001-10-05 17:56     ` Florian Weimer
2001-10-05 17:45 ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox