3 ms·
Reference counting forces the developer to think about memory management. Apple has a nice talk on ARC [1] but it got me thinking: if I have to think about ref
by UltraViolence 4y ago
Reference counting forces the developer to think about memory management.
Apple has a nice talk on ARC [1] but it got me thinking: if I have to think about reference counting this much I might just as well manage memory all by myself.
The true joy of Garbage Collection is that you can just create objects left and right and let the computer figure out when to clean them up. It's a much more natural way of doing things and lets computers do what they're best at: taking tedious tasks out of the hands of humans.
[1]: https://developer.apple.com/videos/play/wwdc2021/10216/ https://developer.apple.com/videos/play/wwdc2021/10216/