Why use C++ when C works for large projects equally well?
- by Karl
Before I start, please DO NOT make this into a C vs C++ flamewar. This question has nothing to do with which language is better or not. Period.
I have read that C++ is said to be fit for large projects. After all, it makes managing code easier. OO and other features, for example the STL.
But then why use C++ when C works equally well for large projects? Take the example of the Linux kernel. Or GNOME. Or even Windows I guess, it is written in C right?
So why bother at all with the complexity of C++ (templates and all that), when C works well and this is not just a statement, but proper examples have been quoted. If it works for projects of magnitude of the kernel, why is C++ preferred or why is C not used for almost all projects?