Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
randomdata
· 2y ago · 0 comments
Given (T, error), what do you return for error when no error occurred? When error is "invalid"? The caller is, no doubt, expecting you to be consistent, so the answer for T no doubt lies therein.
There is nothing special about errors.
Comments
No comments yet.
Better HN