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

That's a good point. I was wondering about Zig's defer, which has a block scope, and I suspect it's exactly because of this issue.

Go can allocate defers on the heap, but that's a different story.



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

Search: