News for hackers. Stuff that matters.
Re:Master C++ Programming with Open-Source Books by bluetomcat on Thursday February 16, 2017 @10:24AM (#13660553)
You can program with "performance in mind" in C and the big difference will be that the problem itself will be the obstruction, not the language.

In C++, you fight with the language first and then face the problem.

Re:Master C++ Programming with Open-Source Books by bstamour on Thursday February 16, 2017 @11:03AM (#13660953)
I actually feel the exact opposite when I program in C. C is so bare that most of my time is spent building the correct constructs I need to solve my problem. C++ on the other hand has a decent set of high level features that makes it easier for me to focus on the problem.
Re:Master C++ Programming with Open-Source Books by adrianN on Thursday February 16, 2017 @11:41AM (#13661280)
You can write a C++ program to solve a problem that looks almost exactly like the C program you would write. But C++ brings a couple of nice features, like resource management with constructors/destructors and type-safe data structures that you just can't have in C.
Re:Master C++ Programming with Open-Source Books by andrepd on Sunday February 19, 2017 @10:25AM (#13680107)
How can that be true, if C++ is (almost) a superset of C? Surely you can do anything in C++ identically to C, in the worst case scenario.
Re:Master C++ Programming with Open-Source Books by criddell on Thursday February 16, 2017 @10:40AM (#13660716)
What fight are you having with C++?