C++ was literally created to be "C with classes", and while it has grown well beyond that today, C++ is still at it's core C, but with classes. Because there's already C++ for developers wanting classes, C today is kept intentionally lightweight for bare-metal programming or ultra high performance code.
I think you just invented C++ 😉
C++ was literally created to be "C with classes", and while it has grown well beyond that today, C++ is still at it's core C, but with classes. Because there's already C++ for developers wanting classes, C today is kept intentionally lightweight for bare-metal programming or ultra high performance code.
Well now they are more like separate languages, but the commission tries to remain backwards compatibility