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: fac41,9a0ff0bffdf63657 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,4b06f8f15f01a568 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,9a0ff0bffdf63657 X-Google-Attributes: gidf43e6,public X-Google-Thread: 1108a1,9a0ff0bffdf63657 X-Google-Attributes: gid1108a1,public From: Matthew Heaney Subject: Re: Software landmines (loops) Date: 1998/09/17 Message-ID: #1/1 X-Deja-AN: 391923152 Sender: matt@mheaney.ni.net References: <6rf59b$2ud$1@nnrp1.dejanews.com> <6spia2$1s36$1@prime.imagin.net> <35F06D6A.91A3D34E@s054.aone.net.au> <6t6b3m$30j8$1@prime.imagin.net> <6t6shq$f53$1@nnrp1.dejanews.com> NNTP-Posting-Date: Wed, 16 Sep 1998 20:34:41 PDT Newsgroups: comp.lang.eiffel,comp.object,comp.software-eng,comp.lang.ada Date: 1998-09-17T00:00:00+00:00 List-Id: sureshvv@hotmail.com writes: > Well said. The multi-return structure enables you to separate > code in small independent blocks, each of which may be examined > and understood with less interference from surrounding blocks. > The se-se structure creates large blocks, requiring more > context information. Not only that, but prohibiting early returns from a subprogram means you have to figure how to navigate to the end of the subprogram without doing anything else. This is mental work that you wouldn't have to do otherwise.