Y
Hacker News
new
|
ask
|
show
|
jobs
by
the_gipsy
1593 days ago
Proper sum types, if only for proper error handling. The if err != nil dance is extremely verbose and error prone with consecutive checks.
1 comments
Jeff_Brown
1593 days ago
That could also alleviate the no-exhaustive-enum-checking problem mentioned in another top-level comment.
link