comp.lang.ada
 help / color / mirror / Atom feed
* Re: What does 'spaghetti' mean
@ 1996-05-02  0:00 W. Wesley Groleau (Wes)
  0 siblings, 0 replies; only message in thread
From: W. Wesley Groleau (Wes) @ 1996-05-02  0:00 UTC (permalink / raw)



Why quibble whether it refers to tangled control flow only or also to
tangled inheritance paths?  The maintenance impact is the same.

Here's another possible meaning:  Imagine a control graph (a flow chart
with just node dots instead of boxes) for an Ada procedure without
any 'raise' 'exit' or 'return' statements.  It will look nicely structured
and straightforward, won't it.  Now draw arrows to each conditional from
the place where the controlling condition was established (e.g., the
assignment to a flag).  If it's like some Ada code I've worked with, it
will look just as spaghetti-like as the worst BASIC.

--
---------------------------------------------------------------------------
W. Wesley Groleau (Wes)                                Office: 219-429-4923
Magnavox - Mail Stop 10-40                               Home: 219-471-7206
Fort Wayne,  IN   46808              elm (Unix): wwgrol@pseserv3.fw.hac.com
---------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-05-02  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-02  0:00 What does 'spaghetti' mean W. Wesley Groleau (Wes)

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