Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
banana_maker
on Feb 12, 2020
|
parent
|
context
|
favorite
| on:
Experience report on a large Python-to-Go translat...
This isn't ideal, because it forces each successive function that takes a Result type to add handling code in the case of an error.
fn(fn(fn()?)?)? is a bit gnarly but better than duplicate code like that, imo.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
fn(fn(fn()?)?)? is a bit gnarly but better than duplicate code like that, imo.