4 ms·
> using pointers or references everywhere and building complicated object graphs is a recipe for object lifetime issues. It's also that indices are the better
by jstimpfle 5y ago
> using pointers or references everywhere and building complicated object graphs is a recipe for object lifetime issues.
It's also that indices are the better and cleaner "identities" compared to pointers. Pointer values include runtime baggage, and it shows if one tries to do parallel arrays or serialization.