Article View: comp.lang.c++
Article #135Re: “The end of software secrecy is almost upon
From: Peter Flass
Date: Wed, 21 Oct 2026 14:41
Date: Wed, 21 Oct 2026 14:41
35 lines
3078 bytes
3078 bytes
On 10/21/26 01:05, boltar@battlestar.co.uk wrote: > On Wed, 21 Oct 2026 07:55:39 -0000 (UTC) > Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> wrote: >> On Wed, 21 Oct 2026 07:42:30 -0000 (UTC), boltar wrote: >> >>> On Wed, 21 Oct 2026 01:29:18 -0000 (UTC), Lawrence D’Oliveiro wrote: >>>> >>>> On Tue, 20 Oct 2026 17:24:27 -0000 (UTC), boltar wrote: >>>> >>>>> ** The setting a flag method which has to be checked in every >>>>> nested loop test is just an [asinine] way to code. >>>> >>>> If you have to do cleanup at each level before exiting, then it >>>> works perfectly well. >>> >>> It may well work but it doesn't make it good. Its harder to follow - >>> whereas a goto out of a deeply nested loops is blindingly obvious - >>> and its less efficient. >> >> The goto from the deep inner block to the outer one is “blindingly >> obvious” ... ly wrong. > > Fine, well you stick with your gotos-are-bad religious doctrine based on > something one guy said 50 years ago and the rest of us will carry on writing > usable and easy to follow code. > >> What about the cleanup? > > What about it? you think a flag test in a loop automagically fixes that? I occasionally use GOTOs, but usually only after considering other alternatives. The flag test is the big red flag. If I have to keep testing a flag for several layers to get out of a loop, there has to be a better way.
Technical Details
Message-ID:
<11baiu2$sj9$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.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> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b884b$p2o9$1@dont-email.me> <11b94he$3hdo3$2@dont-email.me> <11b9qd6$pq4i$1@dont-email.me> <11b9r5r$3nppf$1@dont-email.me> <11b9rne$28rcf$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Peter Flass <Peter@Iron-Spring.com> Newsgroups: comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers Subject: Re: “The end of software secrecy is almost upon Date: Wed, 21 Oct 2026 07:41:06 -0700 Organization: A noiseless patient Spider Lines: 35 Message-ID: <11baiu2$sj9$2@dont-email.me> 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> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b884b$p2o9$1@dont-email.me> <11b94he$3hdo3$2@dont-email.me> <11b9qd6$pq4i$1@dont-email.me> <11b9r5r$3nppf$1@dont-email.me> <11b9rne$28rcf$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 21 Oct 2026 14:41:07 +0000 (UTC) Injection-Info: dont-email.me; logging-data="29289"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xbu4Jaq0JWsQwHEgcEPfy"; posting-host="907b77d36fdcadf82d94133f420f8b10" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:tST5mKQ2krWEzX8hwMF5hWvmBgs= sha256:DKt5xeuZ0w1zWEIgHnaPEXNI5ZWeWhIZdo2E1N386c8= sha1:jdSgH/rsnN0xDZi4S/AeOsL7aZU= sha256:cup38epFFmNkvHAl5bQfsslJoOBp8mXdxiMPoRcd/OI= In-Reply-To: <11b9rne$28rcf$1@dont-email.me> Content-Language: en-US