4 ms·
I think the main issue with C++ is just that C++ is not one thing. Everyone has a different idea of which of the incredible number of features added over the ye
by rhinoceraptor 5y ago
I think the main issue with C++ is just that C++ is not one thing. Everyone has a different idea of which of the incredible number of features added over the years are good, and which are footguns. Obviously many of the features of C++ are incompatible with kernel development, since C++ is designed to be used for applications, not kernels.
- jll29 5y agoExactly. Very well said - in other words: C++ is NOT ORTHOGONAL, whereas C is. C++ is also an evolving monster that everyone uses different subsets of, and many developers only know or use subsets of, either for lack of expertise or out of conviction (see how polarised the discussion of exceptions in C++ is here). And every five years, even more complexity gets added, making the C++ story a modern PL/1-like story. For many decades, there were also substantial differences in compiler maturity, forcing many to rely on subsets artificially.
- kaba0 5y agoBut C is so small that every project will use their own under-specified conventions with no documentation, no tooling, etc. At least C++ language features will have proper documentation, not this “if we place a struct inside this one at a specific place, we can use it as a linked list for no added memory cost” shit that one must know for each and every project (and is error prone).