And platforms that keep C alive like UNIX clones.
And platforms that keep C alive like UNIX clones.
"CppCon 2016: Dan Saks “extern c: Talking to C Programmers about C++”
C++ doesn't cramp your style if you'd prefer to write C-style code, but it gives you the power to do much more, and on your own schedule and in your own way. Why on earth would you choose to use the much less capable plain C?
Christ, it's not like the moment you switch the compiler from gcc to g++ a demon comes and bonks you over the head with the GoF design patterns book. C++ can be as much like C as you want.
There is a special day per year to break that rule, and it already gone for 2021.
- more ways to do things -> more effort required to keep somewhat uniform style
- linus and friends just get to decide. (they can be as subjective as they want. The "their house their rules" kind of thing).
- there is no "c/c++" language. there is c and there is c++. they have different std libraries, different idioms, and expert overlap is not that high.
- linux kernel even in c is a huge success - so c is good enough for linux (enough kernel developers are comfortible and productive with it).
- linux might have succeeded with cpp if it were used from the start, but now it's too late. Migration to cpp is a no-go: benefits do not outweigh costs (old code will not be rewritten in cpp, so people maintaining code will now have to be profficient in c AND cpp).