News for hackers. Stuff that matters.
Re:Starting a tech startup with C++ by lbrandy on Saturday January 02, 2016 @01:46PM (#10827281)
Pointers (smart or raw or whatever) get used when you need reference semantics. It's true that value semantics are usually better but not always (eg inheritance).

To be sure, though, being able to make proper value types is a strength of C++. Also we should point out most non-trivial value types make extensive (and necessary!) use of the heap under the hood (eg string, vector)

Re:Starting a tech startup with C++ by palunon on Saturday January 02, 2016 @03:07PM (#10827657)
And then, you have Small String Optimization that put the string data back on the stack ;)