comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephe.Leake@nasa.gov>
Subject: Re: Prototyping with Ada
Date: Sat, 31 May 2008 02:03:12 -0400
Date: 2008-05-31T02:03:12-04:00	[thread overview]
Message-ID: <u7idb80yn.fsf@nasa.gov> (raw)
In-Reply-To: 5kgq34po8tmg50p8v75a1810ug5gmpfg03@4ax.com

John McCabe <john@nospam.assen.demon.co.uk> writes:

> On Thu, 22 May 2008 04:43:19 -0400, Stephen Leake
> <Stephe.Leake@nasa.gov> wrote:
>
>>John McCabe <john@nospam.assen.demon.co.uk> writes:
>>
>
>>> If you approach the whole thing from the point of view you describe,
>>> then you're just taking what may be poor quality code and making it a
>>> bit better, which doesn't necessarily make the code (or design!) good.
>>
>>If you do refactoring right, you can incrementally improve the quality
>>of code.
>
> Code quality, yes (but your use of the term "right" is very
> important!). It is much more difficult to refactor an inadequate
> design at that point.

I refactor to change design all the time. Since I right good code in
the first place, that's pretty much the _only_ reason I refactor :).
Some people include "change design" in the definition of "refactor".

Changing the basic architecture (say from monolithic program on one
computer to networked client/server, or from non-real-time to
real-time) is not something you can typically do via refactoring. But
changing lower-level design is possible.

Ada is a very good language for expressing design (much better than
UML!). It also happens to be executable; that's just a side benefit
:).

-- 
-- Stephe



  parent reply	other threads:[~2008-05-31  6:03 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-16 10:56 Ada featured in Doctor Dobb's Journal Ludovic Brenta
2008-05-16 12:28 ` Mike Silva
2008-05-16 13:04   ` Ludovic Brenta
2008-05-16 14:33     ` Mike Silva
2008-05-16 22:26       ` Randy Brukardt
2008-05-17  6:30   ` rant (Re: Ada featured in Doctor Dobb's Journal ) jhc0033
2008-05-17  8:28     ` Ludovic Brenta
2008-05-17  9:27       ` Dmitry A. Kazakov
2008-05-17  9:56         ` Georg Bauhaus
2008-05-17 12:05           ` Dmitry A. Kazakov
2008-05-17  9:38       ` jhc0033
2008-05-17 11:49         ` Ludovic Brenta
2008-05-17 17:53           ` jhc0033
2008-05-17 23:21             ` Ludovic Brenta
2008-05-18  0:28               ` jhc0033
2008-05-18  0:35               ` Dr. Adrian Wrigley
2008-05-18  8:04                 ` Prototyping with Ada (was: Ada featured in Doctor Dobb's Journal) Ludovic Brenta
2008-05-20 10:25                   ` John McCabe
2008-05-20 16:57                     ` Prototyping with Ada Jeffrey R. Carter
2008-05-20 17:23                       ` Mike Silva
2008-05-20 17:37                       ` Peter C. Chapin
2008-05-20 23:30                         ` Mike Silva
2008-05-21  0:40                         ` Jeffrey R. Carter
2008-05-21 12:53                         ` Martin Krischik
2008-05-22  8:43                     ` Stephen Leake
2008-05-28 11:32                       ` John McCabe
2008-05-28 12:12                         ` Ludovic Brenta
2008-05-29  3:27                           ` tmoran
2008-05-29  9:41                           ` John McCabe
2008-05-31  6:03                         ` Stephen Leake [this message]
2008-06-02 15:43                           ` Britt Snodgrass
2008-05-17  9:45     ` rant (Re: Ada featured in Doctor Dobb's Journal ) Georg Bauhaus
2008-05-17 10:57     ` Mike Silva
2008-05-17 16:49     ` tmoran
2008-05-16 22:56 ` Ada featured in Doctor Dobb's Journal Ivan Levashew
replies disabled

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