by deredede · 1y ago · 0 comments
You don't need that. A practical solution is a generic `error` type that you return (with a special value for "no error") and `name` or `email` output arguments that only get set if there's no error.
It doesn't mean you should completely eliminate `if` statements and error checking.