News for hackers. Stuff that matters.
Re:Convincing C programmers to switch to C++: A look at huma... by jernfrost on Friday June 02, 2017 @12:56PM (#14471405)
Talk about the cat calling the kettle black. C++ arrogance and hypocrisy at its finest: Wondering why C programmers can't be reasoned while being impervious to any reasonable argument themselves towards the many modern alternatives to C++.

Why on earth should a C developer chose C++, when they could chose Go, Rust, Swift and Nim instead? And if you really insist on an old language I'd rather use Objective-C than C++.

Only reason to ever pick C++ is that you got a sizable existing legacy C++ codebase. That is why I am stuck on C++.

A C developer by definition doesn't have legacy C++ code to deal with so there is no reason to pick C++.

Saying C has no benefits over C++ is rather ignorant. Complexity has a real cost. For most of my C++ career that has been reflected in an utter lack of functional tools for manipulating C++ code, e.g. doing refactoring. Refactoring C code is a lot easier, as a regexp search and replace is far more dependable, since there is no function overloading.

There are no comments on this comment yet.