Re:C++ Considered Harmful
by jrockway on Friday September 26, 2008 @03:46PM
(#316431)
I don't like C++, but ESR's reasoning here is faulty. C++ was not meant to be elegant; it was meant to run quickly and have some OO. It succeeds at both of those.
The hard part is writing and compiling it. The syntax is bad, the language features are easy to misuse, and the compilers are slow and don't give good error messages.
But the main reason to hate C++ is because allocating your own memory and figuring out what type variables have is a job for the computer, not for the programmer.
The hard part is writing and compiling it. The syntax is bad, the language features are easy to misuse, and the compilers are slow and don't give good error messages.
But the main reason to hate C++ is because allocating your own memory and figuring out what type variables have is a job for the computer, not for the programmer.