Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
klardotsh
· 1y ago · 0 comments
Optional error checking based on a second return value is just asking for footgunnery, Go made this same (IMO) mistake.
Comments
[–]
rwbt
1y ago
One can use `@(require_results)` to force the user to check for error. That paired with `or_return` or `or_else` in Odin mostly take away all foot guns.