Article View: comp.lang.c++
Article #1166Re: โThe end of software secrecy is almost upon
From: boltar
Date: Sat, 05 Dec 2026 16:54
Date: Sat, 05 Dec 2026 16:54
39 lines
3336 bytes
3336 bytes
On Sat, 5 Dec 2026 11:48:55 -0500 (EST) kludge@panix.com (Scott Dorsey) gabbled: >Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote: >>BCFD 36 <bcfd36@cruzio.com> writes: >>> >>> What kind of engineers are you talking about? A competent software >>> engineer would not be using goto statements under any but the most >>> unusual conditions. I am not completely sure, but I don't think I have >>> used a goto since 1978, except as built in exception handlers for I/O >>> statements in Vax Fortran e.g. "READ (10, 100, ERR=910, END=200) NUM" > >Not "software engineers" but actual engineers with engineering degrees >and maybe a Matlab or Fortran class. If you think engineers automatically make good programmers then I've got a bridge you might be interested in. Some of the worst code I've seen in a professional enviroment was written by electronics engineers. >Years ago engineers would be sitting down with a scientific programmer >and the two of them would be working together on software. Those days >are gone. Why would a "scientific" programmer (whatever the hell one of those is) be required to write a command line utility or a DB client? >>I count more than 200,000 "goto"s in *.c files in the linux kernel >>sources. Some of those are in comments, but the vast majority appear >>to be actual C goto statements. Most of them are for error handling. >>(And yes, kernel programmers are careful to avoid jumping over >>necessary cleanup code.) > >There is a lot of crap in the linux kernel sources. If you ask me, there >is just too damn much of everything in the linux kernel sources. It's >worse than Irix ever was. Since C currently lacks the ability to do ranged "break" or "continue", gotos are often the only sane way to jump out of multiple nested loops though some ivory tower idiots in academia continue with the set-a-flag approach.
Technical Details
Message-ID:
<11f1fk3$2onj4$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-nl.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11amvre$15far$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11eveca$23tld$1@dont-email.me> <11evk9a$26bcl$1@kst.eternal-september.org> <11f1f9n$e99$1@panix2.panix.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-nl.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: boltar@caprica.universe Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers Subject: Re: โThe end of software secrecy is almost upon Date: Sat, 5 Dec 2026 16:54:28 -0000 (UTC) Organization: A noiseless patient Spider Lines: 39 Message-ID: <11f1fk3$2onj4$1@dont-email.me> References: <11amvre$15far$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11eveca$23tld$1@dont-email.me> <11evk9a$26bcl$1@kst.eternal-september.org> <11f1f9n$e99$1@panix2.panix.com> Injection-Date: Sat, 05 Dec 2026 16:54:28 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2907748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/D5DUqqMjEN5FRh4gXAnpU"; posting-host="85c4dfd4070c12e7189596c01ccd0ced" Cancel-Lock: sha1:XCOSRi4oiK2o7pnxaSAHPsL0SXI= sha256:RMqVftYriEP5BJvlLj0RqLCawGuJvT1bMEfC0pmuAvg= sha1:wwK07W0A4Ql2tcZMQn5GwtXltfg= sha256:jJ71BL5ggL5bq65Xyyog7vDusgIRHaQDoRY2OIBCugQ=