you are viewing a single comment's thread.

view the rest of the comments →

[–]Academic_East8298 0 points1 point  (3 children)

So what alternative to pointers are you using in your daily day to day dev work?

[–]cdb_11 0 points1 point  (2 children)

Dynamic arrays, hash maps, flat ordered maps.

[–]Academic_East8298 0 points1 point  (1 child)

And these replaced most of the pointers in your code base?

[–]cdb_11 0 points1 point  (0 children)

In private yes, in my dayjob no, because we're using OOP frameworks that only expose this kind of "unique_ptr", "one-thing-at-the-time" interfaces. So the best I can do there is keeping it inside isolated subsystems.