Y
Hacker News
new
|
ask
|
show
|
jobs
by
lionkor
757 days ago
They assume C++-like destructors. Other languages, like Zig, do a good job with syntax like `defer`
2 comments
masklinn
757 days ago
They don’t “assume” C++-like destructor, they’re the primary author of the N3199 “defer” proposal for C.
This is a response to people contacting / criticising them asking for destructors instead of defer.
link
jcranmer
756 days ago
The entire point of the blog post (written by the author of the C defer proposal) is to motivate why C should have defer. It is an attempt to summarize one of the most common criticisms of the proposal.
link
This is a response to people contacting / criticising them asking for destructors instead of defer.