Here's a little side dish my sister just e-mailed me. I think it fits in
the discussion of coding styles Anthony touched with his posting.

auto accident;
register voters;
static electricity;
struct by_lightning;
void *where_prohibited;
char broiled;
short circuit;
short changed;
long johns;
unsigned long letter;
double entendre;
double trouble;
union organizer;
float valve;
short pants;
union station;
void check; unsigned check;
struct dumb by[sizeof member];

        Letter to the Editor
        CROSSTALK, Journal of Defense Software Engineering

  The mention of "a feast of spaghetti code" ("Computer Collectives",
CrossTalk,
April/May 1992) prompted this response:

  Nearly every software professional has heard 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 conceptually
simple, is often very 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 to the active
encouragement of ravioli code.

                                                Raymond J. Rubey
                                                SoftTech, Inc.
                                                3100 Presidential Drive
                                                Fairborn, OH  45324
                                                Voice:  513-429-8291

Cheers,
-- M. Uli Kusterer

------------------------------------------------------------
             http://www.weblayout.com/witness
       'The Witnesses of TeachText are everywhere...'

--- HELP SAVE HYPERCARD: ---
Details at: http://www.hyperactivesw.com/SaveHC.html
Sign: http://www.giguere.uqam.ca/petition/hcpetition.html

Reply via email to