News for hackers. Stuff that matters.
Re:Elements of Modern C++ Style by oconnore on Saturday October 29, 2011 @03:56PM (#3172651)
> In a garbage collected language, nothing expresses ownership, and so while you not be at risk of memory leaks, you're still vulnerable to all the other bugs that come with aliasing mutable objects.

You are conflating required language features with proper API design and documentation. I don't need '(unique|scoped|shared)_ptr' to refrain from aliasing mutable types, or to document my code properly on the rare occasion when I am required to.

There are no comments on this comment yet.