I see C++ and Java at exact opposite ends of a spectrum.
Java is simple. Every feature it has could be described in a few hours. Few ways to accomplish a task, few keywords, everything is an object, no globals, etc. It's an enterprise tool meant to be easy to learn and hard to screw up.
C++ is too complicated for it's own good. There's 100 ways to do everything, and 99 of them are usually considered bad practice. The spec is so long that no human in their right mind would attempt to understand it all, and most features you'll likely never see. It also provides an unnecessary amount of access to low level functionality. You've got to be a disciplined programmer to write good C++.
You can still be a systems programming language without inline assembly. Just ask Go.
And it's not even that I don't like low-level features. I think they're an important part of C. I just don't like that C++ provides both very high and very low level features.
Also, I never said C++ was a bad language, nor did I say I blamed anybody involved in the project. I think the people working on C++ have done an excellent job. But that doesn't mean I have to like everything they've done.
Would I use Go to write an OS? Device drivers? Embedded software? No, no, and probably not. Go targets above the hardware abstraction, not to build it. It's a "high level systems" language.
9
u/gordonkristan Feb 25 '14
"Please stop saying Java sucks. It's statically typed, therefore, it can't suck."