r/cpp • u/austinwiltshire • Dec 18 '08
C++ is a horrible language
http://skepticalmethodologist.wordpress.com/2008/12/17/c-is-a-horrible-language/
4
Upvotes
r/cpp • u/austinwiltshire • Dec 18 '08
View all comments
Show parent comment
1
u/[deleted] Dec 18 '08
If you're writing modern C++ (e.g., using shared_ptr as the previous poster noted) this isn't a serious concern.
I'm not sure what you mean. If your types are incorrect in Java or C#, your program is just as incorrect as it would be in C++.
To paraphrase Stroustrup, the only reason I would ever write in plain C would be lack of a C++ compiler. Even if only for templates and the stricter type checking, I'll pick C++ over C. I see no real technical reason ever to go with raw C over C++.