Linked by David Adams on Sat 11th Oct 2008 16:48 UTC, submitted by IndigoJo
General Development Eric Raymond is working on an essay, putatively titled "Why C++ Is Not My Favorite Programming Language". In his announcement, he calls it "an overcomplexity generator", "bloated, obfuscated, unwieldy, rigid, and brittle", and alleges that these characteristics appear in C++ applications also. I contend that many of the complaints about C++ are petty or are aimed at specific libraries or poor documentation and that many of the features commonly regarded as unnecessary (and excluded from intended replacements) are, in fact, highly useful. C++: the Ugly Useful Programming Language
Permalink for comment 333361
To read all comments associated with this story, please click here.
Just one thing..
by membrain on Sun 12th Oct 2008 00:40 UTC
membrain
Member since:
2008-06-19

...that I can say here: That man just doesn't know how to write C++ code.

If you try hammering in Pythonisms into C++ code, then, yeah, it might turn out brittle (if every Python app i know would immediately fault whenever a runtime error comes along, then I'm sure more Python apps would fail than C++ apps). Furthermore, the brittleness he says exists can be possibly only attributed to editing C++ code: Final C++ code, once it runs, is (I'm sure but have no data to back it up right now) on average more stable than Python or C. I simply love C++ because of that feature (so yeah this here is biased but I'm not losing sight for facts).

Obfuscated. Hell, yeah, it ain't BASIC, sorry if you can't deal with some level of COMPLEXITY (which simply != obfuscation).

Rigid, yes it IS rigid in a sense, but what this builds is stability, not brittleness. Software is algorithms, not art. The art lies in writing it, but the final piece is as much algorithm as finding the LCM of some set of numers. So sorry if it FAULTS when the app isn't written the right way. Yes, faults, which is the only right thing to do during testing, because you DON'T want it to fault when possibly lives of people are at stake (nor do you want e.g. Python apps to warn you but it seems this is being ignored all too often, because final releases turn out to have a lot of warnings a lot of times.)

As for unwieldy, I can't follow there. The base language is very slim.

Reply Score: 3