Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If this is needed in tests it needs to be known how it works, it needs to work consistently, and it needs to be documented how it works. It can't be an ad-hoc deep investigation and random fix each time. The comment should then be just // ensure foo is no longer a GC root, see gc_roots.md


It needs a comment for sure. I always write a little helper utility to manage that when I need it.




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

Search: