Hacker News new | ask | show | jobs
by mtlmtlmtlmtl 1227 days 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.

1 comments

True. But doing this yourself can result in bugs. It would be nice if we didnt have to think about it.