Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
L-four
on March 5, 2025
|
parent
|
context
|
favorite
| on:
The cost of Go's panic and recover
Writing transaction code wrapping a user provided function which can error or panic is a real pain to get right. If the user code panics there is no error if the user code succeeded there is no error. So you have to call recover on success.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: