3 ms·
I think ownership is necessary to understand as a programmer when designing systems, regardless of whether or not the language has explicit enforcement of it. H
by mtlmtlmtlmtl 4y ago
I think ownership is necessary to understand as a programmer when designing systems, regardless of whether or not the language has explicit enforcement of it. Having a clear idea of ownership and accommodating it in your data structures is the best way to know when to free an object in C.
Similarly, having a clear idea of ownership can help in writing GC friendly code.
- ki_ 4y agoTrue. But doing this yourself can result in bugs. It would be nice if we didnt have to think about it.