Thread View: comp.lang.c++
3 messages
3 total messages
Started by Lawrence D’Oliveiro
Sun, 01 Nov 2026 05:49
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for
Author: Lawrence D’Oliveiro
Date: Sun, 01 Nov 2026 05:49
Date: Sun, 01 Nov 2026 05:49
16 lines
2134 bytes
2134 bytes
On Sun, 1 Nov 2026 01:34:01 -0000 (UTC), Kevin Chadwick wrote: >> Its a PITA because you have to have it correct before it compiles, >> as opposed to C++ where you don't. > > SO much fun troubleshooting at runtime instead. Kidding, right? It’s been a while since I did some C++ code, but I remember wading through *massive* screeds of error messages every time there was a type mismatch on some function argument, and the GNU C++ compiler would list *every single possible overload candidate*, so you got dozens, possibly even hundreds, of lines of messages just for one error. And you had to check them *all* to be sure which one you meant, and to figure out what to fix to get the compiler to agree.
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for
Author: Paul Rubin
Date: Sun, 01 Nov 2026 05:57
Date: Sun, 01 Nov 2026 05:57
11 lines
2013 bytes
2013 bytes
Lawrence D’Oliveiro <ldo@nz.invalid> writes: > It’s been a while since I did some C++ code, but I remember wading > through *massive* screeds of error messages Haskell is like that too, but the trick for both Haskell and C++ is that the diagnostics are usually accurate about what line number has the error. So you can often look at the code at that location and figure out what is wrong, without having to examine the error message too carefully. C++ Concepts are supposed to decrease the message spew by a lot as well.
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for
Author: Chris Ahlstrom
Date: Mon, 02 Nov 2026 16:32
Date: Mon, 02 Nov 2026 16:32
32 lines
3003 bytes
3003 bytes
Lawrence D’Oliveiro wrote this screed in ALL-CAPS (fixed): > On Sun, 1 Nov 2026 01:34:01 -0000 (UTC), Kevin Chadwick wrote: > >>> Its a PITA because you have to have it correct before it compiles, >>> as opposed to C++ where you don't. >> >> SO much fun troubleshooting at runtime instead. > > Kidding, right? > > It’s been a while since I did some C++ code, but I remember wading > through *massive* screeds of error messages every time there was a > type mismatch on some function argument, and the GNU C++ compiler > would list *every single possible overload candidate*, so you got > dozens, possibly even hundreds, of lines of messages just for one > error. And you had to check them *all* to be sure which one you meant, > and to figure out what to fix to get the compiler to agree. I see those a lot, but in almost all cases I can ignore all the follow-on information and go to the offending line of code and then *doh* slap my forehead. I'll admit it's a pain when you forget the closing "}" of a universal initializer. -- "But I don't want to go on the cart..." "Oh, don't be such a baby!" "But I'm feeling much better..." "No you're not... in a moment you'll be stone dead!" -- Monty Python, "The Holy Grail"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads