Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site brl-vgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!brl-vgr!ron From: ron@brl-vgr.ARPA (Ron Natalie ) Newsgroups: net.lang Subject: Re: Re: Teaching students with GOTO Message-ID: <2732@brl-vgr.ARPA> Date: Thu, 31-May-84 12:58:28 EDT Article-I.D.: brl-vgr.2732 Posted: Thu May 31 12:58:28 1984 Date-Received: Sat, 2-Jun-84 10:57:17 EDT References: <5806@mcvax.UUCP> <9000024@uokvax.UUCP> Organization: Ballistics Research Lab Lines: 10 GAK! What makes you think that BREAK to the n-th power is better than a goto to exit the loop. It certainly is a lot clearer and easier to find the label to which you are breaking, rahter than looking to see how many loops you are in. You just can't count indentation because BREAK exits SWITCH, WHILE, and DO but not other blocks. CONTINUE doesn't exit SWITCHs. As a stated in my previous message, just because you don't use gotos don't think that you are writing structured code. You can do some pretty gross unstructured things even without gotos. -Ron