🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sw.components
Article #268

Re: maintenace and reuse

#268
From: Satish Kumar .C
Date: Sun, 15 Oct 1989 17:26
19 lines
1316 bytes
In article <130200014@p.cs.uiuc.edu> johnson@p.cs.uiuc.edu writes:
>
>Reusing code requires understanding it.  Understanding code
>requires at least reading the documentation, and sometimes
>reading the code.

I beg to differ. Reusing code requires understanding the *function* of
the code and not the code itself. If you know precisely what the code is
supposed to do, then you can reuse it without reading thro' the
implementation of it. If reusable code requires us to read thro' its
implementation, then in my opinion it is not truely reusable. It
defeats the very purpose of having package specification and module
interfaces. Reuse is fine. I am strong advocate of it. But not when I
have to read thro' the code.  The only thing I would necessarily need to
read is the documentation describing the purpose of the code.

-- 
	-Satish.
	chittamu@cs.umass.edu
Technical Details
Message-ID: <468@umvlsi.ecs.umass.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!uwm.edu!mailrus!ncar!husc6!m2c!umvlsi!chittamu
References: <130200014@p.cs.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!uwm.edu!mailrus!ncar!husc6!m2c!umvlsi!chittamu
From: chittamu@umvlsi.ecs.umass.edu (Satish Kumar .C)
Newsgroups: comp.sw.components
Subject: Re: maintenace and reuse
Message-ID: <468@umvlsi.ecs.umass.edu>
Date: 15 Oct 89 17:26:52 GMT
References: <130200014@p.cs.uiuc.edu>
Reply-To: chittamu@cs.umass.edu (Satish Kumar .C)
Organization: University of Massachusetts, Amherst
Lines: 19