Hacker News new | ask | show | jobs
by klardotsh 247 days ago
Optional error checking based on a second return value is just asking for footgunnery, Go made this same (IMO) mistake.
1 comments

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.