2 ms·
Object graphs where there's no clear owner are not automatically "incorrect" - whatever they're modelling might be non-hierarchical itself - yet would result in
by int_19h 5y ago
Object graphs where there's no clear owner are not automatically "incorrect" - whatever they're modelling might be non-hierarchical itself - yet would result in a leak without a GC.
- mgaunard 5y agoThey are, sorry. There is no way to enforce basic guarantees without ownership.
- int_19h 5y agoGraphs where no single object is a clear owner happen all the time in real world, so I would argue that any object model that can't accurately model that is just not good enough. And what basic guarantees are not enforceable without ownership?