3 ms·
> I have two options, one is to pass in an in-out parameter, the other is to the throw an exception. These are not the only options. You can also return `optio
by leni536 5y ago
> I have two options, one is to pass in an in-out parameter, the other is to the throw an exception.
These are not the only options. You can also return `optional<T>` or an other wrapped value from a factory function.