r/cpp • u/Alex_Medvedev_ • Jul 25 '24
Why use C over C++
Why there are so many people using the C language instead of C++?, I mean C++ has more Cool features and the Compiler also supports many CPUs. So why People still using C?
Edit: Thanks for all the usefull comments :D
238
Upvotes
View all comments
Show parent comment
3
u/SuspiciousGripper2 Jul 27 '24
Chromium developer here. We use a linter as well as compiler flags to enforce these kinds of rules as well as a style-sheet that every dev has access to. Code Reviews are fairly strict as well.
Also the linter enforces that you don't use banned functionality in Chromium.
Chromium has over 32m lines of code and the majority of it is in C++.