Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
b3morales
on Jan 16, 2022
|
parent
|
context
|
favorite
| on:
A simple defer feature for C
In practice those signatures can get a bit tiresome to write out, but I agree, they fit much,
much
better with C syntax and mindset.
bangonkeyboard
on Jan 16, 2022
[–]
Certainly, but no more tiresome than the existing C syntax for function pointers, to which they were direct analogues.
b3morales
on Jan 16, 2022
|
parent
[–]
Yes, agreed absolutely. I think they'd be used more heavily because of the convenience of allowing captures, though.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: