News for hackers. Stuff that matters.
Re:Bjarne Stroustrup – The Essence of C++ [video] by fhd2 on Tuesday September 17, 2013 @07:24AM (#6398637)
Well, what's easy in Java here is that you're effectively always working with shared objects. That's easy to use, but in my experience quite error prone, I can't count how many memory leaks I fixed in Java/JS code. YMMV.

In C++, you have various ways of referencing and passing objects, so you need to be aware of the lifetime and ownership of objects. It's arguably harder, and unfortunately, the C heritage makes it a lot harder than it needs to be :(

There are no comments on this comment yet.