Pasta Code
----- Begin NetScrap(TM) -----
Pasta Code
The mention of ``a feast of spaghetti code'' [``Computer Collectives,''
CrossTalk, April/May 992] prompted this response by Raymond J. Rubey
SofTech, Inc., Fairborn, OH.
"Nearly every software professional has heard of the term spaghetti code
as a pejorative description for complicated, difficult-to-understand, and
impossible-to-maintain, software. However, many people may not know the
other two elements of the complete Pasta Theory of Software.
Lasagna code is used to describe software that has a simple,
understandable, and layered structure. Lasagna code, although
structured, is unfortunately monolithic and not easy to modify. An
attempt to change one layer, while conceptually simple, is often
difficult in actual practice.
The ideal software structure is one having components that are small and
loosely coupled; this ideal structure is called ravioli code. In
ravioli code, each of the components, or objects, is a package
containing some meat or other nourishment for the system; any component
can be modified or replaced without significantly affecting other
components.
We need to go beyond the condemnation of spaghetti code and to the
active encouragement of ravioli code."
----- End NetScrap(TM) -----
Entered on: 06/05/1998
Send it: |
Allegedly perpetrated by:
|
Copy and paste this into an email to a friend. We can make it easy for you. Mail
it off with the Netscrap(TM) MailTool.
|
Transcribed from the November-December 1992 issue of the Lawrence Livermore National Laboratory Software Engineering Newsletter.
Yet another call to round up the usual SUSPECTS. Feel free to forward but do not remove this trailer. For subscription information, send email to
suspects-l-request@netcom.com with the word INFO in the Subject line.
SUSPECTS is a non-profit service and does not own rights to most material.
Got any more information about this? Add to the story.
|
|