3 ms·
Easy: objects should not normally have members with different lifetimes, and ideally any mutable members at all. There are exceptions to that, like queues and
by nine_k 5y ago
Easy: objects should not normally have members with different lifetimes, and ideally any mutable members at all.
There are exceptions to that, like queues and caches, but they are few and should be closely watched.