🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.arts.sf.written
Article #415

Re: “The end of software secrecy is almost upon

#415
From: David Brown
Date: Wed, 21 Oct 2026 18:26
102 lines
6114 bytes
On 21/10/2026 20:02, boltar@battlestar.co.uk wrote:
> On Wed, 21 Oct 2026 17:57:35 +0200
> David Brown <david.brown@hesbynett.no> wrote:
>> On 21/10/2026 09:47, boltar@battlestar.co.uk wrote:
>>> They should have been added 30 years ago.
>>>
>>
>> That's your opinion, so I won't argue with it.  I haven't felt the 
>> need of them myself, but I appreciate that some people expect to find 
>> them 
> 
> So you've never had to jump out of deeply nested loops? Are you the
> "hello world" guy?

No, and no.

There are plenty of ways to handle getting out of nested control 
structures.  I can see why some people would like labelled loops and 
switches, and to be able to break or continue on those labels, but it 
simply hasn't been a problem for me.  Alternatives like return from the 
function, or extra flag variables have been fine (the compiler turns the 
flag variables into jumps).  It is quite possible that I have written 
code where I would have used multi-level breaks if they had been 
available at the time, but that's quite different from feeling they were 
missing from the language or that they would have been a much better 
solution.

> 
>> Wishing they had been added 30 years ago does nothing - adding your 
>> voice of support in the C++ standards mailing lists, or asking gcc to 
>> add it as an extension in C++ might be more useful.
> 
> Its unlikely any compiler authors would add an extension that fundamentally
> changes the core flow of control without it being part of the standard.
> 

Don't exaggerate.  It's a minor feature, with zero cost - it's a neater 
way to write "goto end_of_loop".

>>> Yeah, on university CS courses. They're just more metaprogramming 
>>> fucking
>>> about and add nothing of actual value for the jobbing programmer 
>>> trying to
>>> solve a problem.
>>
>> I use them in my code.  I am not alone in that.
> 
> So fill us in on exactly what problem they solve because I've yet to see
> any use case that couldn't have been done with template specialisation,
> conditionals and typeid(). But I guess if you like yet more obtuse syntax
> that makes compilers even more bloated and bug prone then I'm sure they're
> a winner.

I haven't used them in any situation where they were /needed/, but I 
have used them where they make code neater and clearer.  A lot of 
situations where you use concepts could be handled by a mess of 
enable_if's - but concepts are a better way to write the code.

> 
>> It's okay to consider them as "advanced", or something that "ordinary" 
>> programmers don't need - there's lots of stuff in C++ that most people 
>> don't need, but which exists so that it's easier to write efficient 
>> libraries that "ordinary" programmers /do/ use.
> 
> As I've already pointed out - there are far more mundane features that
> your average programmer WOULD use than the commitee can't be bothered to
> add probably because there's less peer kudos on that kind of thing than a
> load of highbrow bullshit that looks cool on a CS lecture whiteboard.

You are clearly have a lot of pent-up anger and frustration about 
something, since you haven't the faintest clue as to who the standards 
committee are, what they do, how they do it, and why they do it. 
(Here's a clue - most are C++ /users/, some are C++ compiler or standard 
library implementers.  They are not academics.)

> 
>>> Driving it forward into a ditch. The language is already so needlessly
>>> complicated that students just swerve it for more user friendly ones, 
>>> mainly
>>> Python. And Rust is already nudging C aside. If they ever add a 
>>> decent object model to it then C++ will be next in the firing line.
>>>
>>> If I was starting out today in IT I wouldn't touch C++ with the 
>>> proverbial
>>> barge pole.
>>>
>>
>> Ok.  Again, that's your opinion.
> 
> Take a look around you. How many new startups are recruiting C++ devs?
> 

We see it all the time.  Of course, different programming fields want 
different languages - C++ is suitable for some things, and less so for 
other things.  There is no one language to fit all usage.

There's plenty I don't like about C++ too.  But I don't have some weird 
conspiracy theory about how it is being destroyed by some ivory tower 
academics that want C++ to be hard so that they can look smart, or 
whatever your delusions are.

Technical Details
Message-ID: <11bb04l$68pg$1@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-mail
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> <11b8d6i$39gd9$1@dont-email.me> <11b9qna$pqb8$1@dont-email.me> <11bandf$1042$4@dont-email.me> <11baun8$29v7a$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: David Brown <david.brown@hesbynett.no>
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: Wed, 21 Oct 2026 20:26:29 +0200
Organization: A noiseless patient Spider
Lines: 102
Message-ID: <11bb04l$68pg$1@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>
 <11b8d6i$39gd9$1@dont-email.me> <11b9qna$pqb8$1@dont-email.me>
 <11bandf$1042$4@dont-email.me> <11baun8$29v7a$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 18:26:30 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="205616"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+ABEiBC9v3xkj0RLlAOWR9i7QOErYF7xE="; posting-host="f78456a6491f23b3f53847b5a3287905"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:uA1yduasg14Cj1Z6wCyBh7q0WdA= sha256:1PJwLugAGB92FlsZIiFdouuxy+mg6lEdp2t3IHbBIzM=
	sha1:0t2HO+ZZXay5NhbjvYxBnJZAFC8= sha256:jZBr9I51PQ21WkPZCpLUQO8VJvoBqF++3UJp8OkhJe0=
In-Reply-To: <11baun8$29v7a$1@dont-email.me>
Content-Language: en-GB