Hacker News new | ask | show | jobs
by soinus 1329 days ago
But there is! Use local variables and value semantics. Use references to borrow stuff. Never touch new or delete. Use smart pointers when need an owning pointer (rare). Anything beyond that: ask next in seniority to supervise. That should be enough to live a happy C++ life for a junior.
1 comments

Ah, I think the parent was referring to C++ circa 1990 to 2010 - prior to the much more happy modern world with standard smart pointers.