Better HN
topnewbestaskshowjobs
Log inSign up

tmpimpl4t6

1 karma · joined Jun 13, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

I remember writing user code that the documentation said it would return the new ref count... But then not actually because that couldn't be guaranteed, and the return value was only useful for debugging. I just treated it as void and was surprised any number leaked out was useful. On the other side of the wall the return value was probably required.