Quote:Original post by Crayolia
C is 5x easier to learn than C++.
C is 5x easier to comprehend than C++.
C theoretically should run faster than C++ (Microsoft's compilers all suck [Yes, this dates all the way back to MASM], and favor OO)
C has 5x less suprises then C++.
1. No, it's 5x harder. Learning the language doesn't mean you know how to safely program. C++ is much easier and safer than C if your talking about actually making things. There is more to a language than it's syntax.
2. Yes, until you start handcrafting C++'s built in features for yourself. Which then is easier to comprehend? Actually, even the hacked things in C++ (functors, multiple dispatch, any meta-programming) are even more hacked in C.
3. First of all: Obviously, if you use some of C++'s more advances runtime features, it will run slower than C. But using those features in C will be even slower than in C++. Next, how can a compiler favor object orientation? That doesn't even make sense. Lastly, VC2003.NET's optimizing compiler is the fastest compiler that exists. Or do you have a benchmark that proves it "sucks"? Maybe, its just a hatred Microsoft...
4. Because it has less features. Using someone's handcrafted features are more suprising that C++'s built in ones.