News for hackers. Stuff that matters.
Re:Ask HN: C vs C++ by dryicerx on Tuesday May 26, 2009 @05:13PM (#627525)
I have to agree with this, C++ isn't error ridden, maybe you friend has run in to some bad C++ code. (If this is true, for example Adobe Products should be failing miserably, their mostly C++).

I would say learn both, once you learn one it's not far off the learn the other. Knowing straight C ways including manual memory management, and learning C++ along with STL/Boost is a powerful combination.

C has a huge number of libraries already out there to do everything and anything. C++ has STL/boost which makes life very easy by giving your a lot of high level algorithms at your fingertips. Now wrap your C libraries in classes and use them in mix with STL/Boost. Now that's a powerful combination, best of both worlds.

There are no comments on this comment yet.