Hacker News new | past | comments | ask | show | jobs | submit login

The author is arguing that reference counting is superiour to garbage collection, because it provides deterministic resource deallocation.

I say this is wrong -- object lifetime and resource deallocation should be entirely separate. He should use with and using(), not depend on a quirk of a particular implementation of the language.

If an object's lifetime ends while it still holds an open handle to a resource, this should be considered a programmer error.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: