Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
assbuttbuttass
on Jan 16, 2022
|
parent
|
context
|
favorite
| on:
A simple defer feature for C
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:
Go can allocate defers on the heap, but that's a different story.