• Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for

    From Lawrence D?Oliveiro@3:633/10 to All on Sun Nov 1 05:49:53 2026
    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.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Paul Rubin@3:633/10 to All on Sat Oct 31 22:57:33 2026
    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.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)