From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3efb02f0c8d60741,start X-Google-Attributes: gid103376,public From: "W. Wesley Groleau (Wes)" Subject: Re: What does 'spaghetti' mean Date: 1996/05/02 Message-ID: <9605021838.AA08310@most>#1/1 X-Deja-AN: 152643478 sender: Ada programming language comments: Gated by NETNEWS@AUVM.AMERICAN.EDU mailer: Elm [revision: 70.85] newsgroups: comp.lang.ada Date: 1996-05-02T00:00:00+00:00 List-Id: 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 ---------------------------------------------------------------------------