Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Macha
on Oct 3, 2021
|
parent
|
context
|
favorite
| on:
Effective Go
Java has try-with-resources and Python has context managers, I wouldn't consider either of them harder to use correctly than defer.
morelisp
on Oct 3, 2021
[–]
I'm not talking about defer at all. The contrast would be C++'s RAII.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: