3 ms·
There's a weird tendency to lump together C and C++ into "C/C++", as though it was the same language. It’s about as weird as writing “HTML/CSS/JS”, or “Java/Ko
by SubjectToChange 3y ago
There's a weird tendency to lump together C and C++ into "C/C++", as though it was the same language.
It’s about as weird as writing “HTML/CSS/JS”, or “Java/Kotlin”. Like it or not people write related languages and technologies that way.
Makes about as much sense as Java/Javascript at this point.
Do you know what “ISO/IEC JTC1/SC22/WG21/SG22” is? It’s the C and C++ Compatibility Study Group for ISO C++. For instance the only reason C++20 added designated initializers was for improving C compatibility.
Stop pretending C and C++ have nothing to do with each other. Using “C/C++” is fine.
- rewmie 3y ago> For instance the only reason C++20 added designated initializers was for improving C compatibility. That would be true if you ignore the fact that designated initializers are superb syntactic sugar that greatly contributes to fewer bugs and better readability.
- SubjectToChange 3y agoC++ has constructors, designated initializers are redundant.