Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nitnelave
on Sept 30, 2023
|
parent
|
context
|
favorite
| on:
How to Use Monadic Operations for `std:optional` i...
For single operations, maybe (and still it's a style, you get used to it), but the value comes from chaining. For me, the user/ageNext example is much more readable with monads. That might also be because I'm used to monads with Rust.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: