Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site wlcrjs.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!wlcrjs!ignatz
From: ignatz@wlcrjs.UUCP (David M. Ihnat)
Newsgroups: net.lang.c
Subject: Re: Re: Re: Breaking out of several nested loops
Message-ID: <373@wlcrjs.UUCP>
Date: Tue, 9-Oct-84 12:35:10 EDT
Article-I.D.: wlcrjs.373
Posted: Tue Oct  9 12:35:10 1984
Date-Received: Wed, 10-Oct-84 04:25:39 EDT
References: <129@ssc-vax.UUCP>
Distribution: net
Organization: chi-net, Public Access UN*X, Chicago IL
Lines: 33



(Despite the fact that the latest version of news encourages me to
reship the entire text of the reference message, I can't see doing so.
If you're stepping into this conversation this late, uh...go back and
catch up.)

Re the comment on the suggestion to use a 'goto' to get out of deeply
nested structures:

> 	Very UNstructured!!!!!!!!!!

Sorry--STRUCTURED CODE IS NOT RELIGION.  If trying for structured code
produces more complicated, un-understandable code than the so-called 
'unstructured' code, then it's getting in the way of the job.  Please,
please remember:  Nothing is forbidden.  Gotos CAN be avoided in all
cases; but it remains a fact that there are times when a simple,
single exit point out of a deeply nested structure will be far clearer
and simpler than a convoluted approach intended to appease  the ghods
of structured programming.  (FYI, I *am* a proponent of structured
programming techniques; the approach I'm postulating, fortunately, was
explained to me by aprofessor long gone but not forgotten.)

	Dave Ihnat
	Analysts International Corporation
	ihnp4!wlcrjs!ignatz
	ihnp4!aicchi!ignatz
	ihnp4!wlcrjs!aicchi!ignatz
-- 
				Dave Ihnat
				Analysts International Corporation
				aicchi!ignatz or wlcrjs!ignatz
				(w) 882-4673  (h) 784-4544