Article View: comp.lang.c++
Article #1127Re: Re: โThe end of software secrecy is almost upon us"
From: Scott Lurndal
Date: Fri, 04 Dec 2026 22:59
Date: Fri, 04 Dec 2026 22:59
27 lines
2650 bytes
2650 bytes
BCFD 36 <bcfd36@cruzio.com> writes: >On 10/19/26 22:46, Titus G wrote: >> On 20/10/2026 18:28, Thomas Koenig wrote: >>> Scott Dorsey <kludge@panix.com> schrieb: >>>> Lynn McGuire <lynnmcguire5@gmail.com> wrote: >>>>> One of the things that I am enjoying is that F2C gets rid of about 75% >>>>> of the Fortran Gotos. The remaining 25% Gotos usually make some sense. >>>>> Ok, a little sense that any C or C++ programmer would have never used a >>>>> goto there. >>>> >>>> It drives me up the wall when people use a goto to jump out of a do loop. >>>> The compiler is doing so much cleanup work that the programmer never sees. >>> >>> Again, care to give an example? >> >> I thought that what was called Structured Programming became an >> inviolable law when invented by whom I do not know but suspect that >> bugger for the bottle or even earlier. >I have a copy of "The Elements of Programming Style" by Kernighan and >Plauger, copyright 1974. I paid $3.95 for it at the UC Berkeley >bookstore, or maybe one of the bookstores on Telegraph Ave. On page 46 >(yes, I dug it out) in Chapter 3 - Structure, it says "Avoid GOTOs >completely if you can keep the program readable." There's a big "if" there. If the program becomes more readable using goto, feel free to use it.
Technical Details
Message-ID:
<xBHQS.53988$sI54.30596@fx48.iad>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer04.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx48.iad.POSTED!not-for-mailReferences:
<11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6u68$2neta$1@dont-email.me> <11b6v90$2nine$3@dont-email.me> <11evf5m$24ad3$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer04.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx48.iad.POSTED!not-for-mail X-newsreader: xrn 9.03-beta-14-64bit Sender: scott@dragon.sl.home (Scott Lurndal) From: scott@slp53.sl.home (Scott Lurndal) Reply-To: slp53@pacbell.net Subject: Re: Re: โThe end of software secrecy is almost upon us" Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6u68$2neta$1@dont-email.me> <11b6v90$2nine$3@dont-email.me> <11evf5m$24ad3$1@dont-email.me> Lines: 27 Message-ID: <xBHQS.53988$sI54.30596@fx48.iad> X-Complaints-To: abuse@usenetserver.com NNTP-Posting-Date: Fri, 04 Dec 2026 22:59:41 UTC Organization: UsenetServer - www.usenetserver.com Date: Fri, 04 Dec 2026 22:59:41 GMT X-Received-Bytes: 2325