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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!censor!geac!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!crdgw1!ge-dab!puma!andrew.ATL.GE.COM!jnixon From: jnixon@andrew.ATL.GE.COM (John F Nixon) Newsgroups: comp.lang.ada Subject: Re: Problems/Risks ... Message-ID: <205@puma.ge.com> Date: 26 Feb 90 13:20:05 GMT References: <12568231436.32.MOESTMANN@WSMR-SIMTEL20.ARMY.MIL> <5519@crdgw1.crd.ge.com> Sender: news@puma.ge.com List-Id: kassover@jupiter.crd.ge.com (David Kassover) writes: >Oh wow. Another structured programming debate. Sorry, I'm >showing my age 8-). me too... ;-) >Ada is functionally complete without the GOTO. There is no >program that could not be written without it. Of course, this holds for any language with sequential, conditional, and iterative statements. Like FORTRAN77. >BUT in some circumstances the cost of programming around [an] unconditional >transfer is high. Do you mean the run-time cost, or the write-time cost? I would think that if you find the need to program around an unconditional transfer, one should probably scrap the section in question and write it again (with the proviso that error handling may require a goto to common cleanup statements...). >But doesn't C have a GOTO statement, too? Yeppers. >Not to mention the trinary operator, which helps produce unreadable one-line >wonders, and by the way, compiles into inferior machine code using VAX C. OK, I won't mention it... :-). BTW, VAX C is an inferior conpiler, period. ---- jnixon@atl.ge.com ...steinmetz!atl.decnet!jnxion