Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
_pferreir_
on Sept 14, 2021
|
parent
|
context
|
favorite
| on:
Go’ing Insane: Endless Error Handling
Rust handles this quite nicely, with the `?` operator, which someone already mentioned in the comments. It's still as explicit as you want it to be, but made real easy by that small amount of syntactic sugar. Maybe Go should adopt something similar.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: