3 ms·
++, i normally use the `result` lib to wrap good/error return values, but your approach without it honestly doesn't lose that much. I would still use `result`
by akdor1154 4y ago
++, i normally use the `result` lib to wrap good/error return values, but your approach without it honestly doesn't lose that much.
I would still use `result` for bigger projects or if I was dubious that consumer would do the right thing though.