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: f5d71,d275ffeffdf83655 X-Google-Attributes: gidf5d71,public X-Google-Thread: 109fba,d275ffeffdf83655 X-Google-Attributes: gid109fba,public X-Google-Thread: 146b77,d275ffeffdf83655 X-Google-Attributes: gid146b77,public X-Google-Thread: 103376,d275ffeffdf83655 X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: Ada vs C++ vs Java Date: 1999/01/18 Message-ID: <77vott$u69$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 434021960 References: <369C1F31.AE5AF7EF@concentric.net> <369C4F71.72E62F8E@GoAway.com> <369CBBC5.5CBE@telusplanet.net> <369E0F70.FA815A62@spam.innocon.com> <77vkl8$qcs$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x2.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Jan 18 16:53:22 1999 GMT Newsgroups: comp.lang.ada,comp.lang.c++,comp.vxworks,comp.lang.java X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-01-18T00:00:00+00:00 List-Id: In article <77vkl8$qcs$1@nnrp1.dejanews.com>, dennison@telepath.com wrote: > Case statements in loops really aren't that bad. Join the > light side! Let go of your gotos... :-) Oh for goodness sakes, not this tired old thread here. Anyone with any reasonable long term memory knows this has been discussed to death, and that the bottom line is that there is a divergence of opinion. There seem to be three kinds of people. 1. People who much prefer the goto and consider it a clearer (and likely more efficient) representation of a finite state machine. 2. People who prefer the case statement, since they prefer a data oriented representation with the state explicitly encoded in data, rather than in the program location. 3. People who don't know enough to have a useful opinion, but have been taught that gotos are always bad. There really is ZERO point in declaring which of these three groups you are in, since there is nothing new to be said here. If you are really interested in this boring issue, consult the archives. But please, no posts from people in class 3, those are the REALLY annoying ones :-) -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own