comp.lang.ada
 help / color / mirror / Atom feed
From: "W. Wesley Groleau (Wes)" <wwgrol@PSESERV3.FW.HAC.COM>
Subject: Re: What does 'spaghetti' mean
Date: 1996/05/02
Date: 1996-05-02T00:00:00+00:00	[thread overview]
Message-ID: <9605021838.AA08310@most> (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
---------------------------------------------------------------------------




                 reply	other threads:[~1996-05-02  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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