Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
sbergot
· 2y ago · 0 comments
A simple example is the Result<T> which could have either Ok(T value) or Error(string message). In order to get the value you need to switch over both cases, forcing you to handle the error case locally.
Comments
No comments yet.
Better HN