comp.lang.ada
 help / color / mirror / Atom feed
From: crowl@rochester.arpa (Lawrence Crowl)
Subject: Re: Software Reuse  --  do we really know what it is ?
Date: Sun, 21-Jun-87 20:50:18 EDT	[thread overview]
Date: Sun Jun 21 20:50:18 1987
Message-ID: <374@sol.ARPA> (raw)
In-Reply-To: 371@dcl-csvax.comp.lancs.ac.uk

In article <371@dcl-csvax.comp.lancs.ac.uk>
craig@comp.lancs.ac.uk (Craig Wylie) writes:
>...  The scale of software that Ada allows the programmer to reuse seems to be
>primarily that of the package. Is this sufficient?

Personal opinion:  It is not.  The mechanism is sufficient if the programmer
of a package is very thorough and very disciplined.  However, programmers are
often under too much presure to be so.

Modula-II mechanisms are insufficient because they do not provide generics.

>1.	We don't really know what it is.

Well, I find a glimering of re-use in reading Knuth's books.  I will point at
an analogy though.  Board level designers constantly use circuits designed by
others.  They are packaged in integrated circuits.

>2.	It probably isn't a thing at all, but rather a collection of things
>	depending on the scale at which the reuse is to take place.

I agree.  However, I consider discipline and investment as necessary things.

>3.	Languages such as Ada and Modula-2, and imperative languages in
>	general are unsuitable for writing reusable software because of
>	their concentration on the HOW rather than the WHAT.

Clearly, we need more concentration on WHAT, but we should not abandon the
efficiency of HOW.

>4.	Reuse of Design isn't considered at all by any current applications
>	language.

The separation of abstract type from implementation in Trellis/Owl and Emerald
helps.  In addition the pre/post conditions of Eiffel provide some (though
not enough) facilities for ensuring the WHAT.  (See Proceedings OOPSLA'86 in
the November 1986 SIGPLAN.)

>5.	Nobody can force programmers to write good reusable code.

True.  But no one need buy code that is not both good and reusable.  I believe
there is a market for such code.

>6.	Even if they do write reusable code how the **** do we ever find it
>	again so that we can reuse it ?

Well, libraries do a somewhat reasonable job of reusing intellectual work in
other forms.  Perhaps they could be drafted into this task also.
-- 
  Lawrence Crowl		716-275-5766	University of Rochester
			crowl@rochester.arpa	Computer Science Department
 ...!{allegra,decvax,seismo}!rochester!crowl	Rochester, New York,  14627

  reply	other threads:[~1987-06-22  0:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1987-06-16  1:55 comments on Ed Berard's S/W reuse part 5 CONTR47
1987-06-18  8:46 ` Software Reuse -- do we really know what it is ? craig
1987-06-22  0:50   ` Lawrence Crowl [this message]
1987-06-22 15:40     ` Stanley Shebs
1987-06-22 18:59       ` Lawrence Crowl
1987-06-23 17:28         ` Stanley Shebs
1987-06-29  9:16           ` Software Reuse -- do we really know what it is ? (long) Ian Dickinson
1987-07-04 21:19             ` John B. Nagle
     [not found]             ` <glacier.17113>
1987-07-07  2:21               ` Software Reuse (short title) pase
     [not found]           ` <titan.668>
1987-07-06  5:28             ` Software Reuse -- do we really know what it is ? (long) David C. DiNucci
1987-07-07 15:18               ` Automatic implementation of abstract specifications debray
1987-07-09 22:40                 ` Automatic implementation of abstrac ron
1987-07-14 16:00                 ` Automatic implementation of abstract specifications Edward Hayes
1987-07-02  7:55 ` Software Reuse -- do we really know what it is ? Drew Adams
replies disabled

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