3 ms·
Just to clarify, In this specific case, I think we're talking about interface, not implementation. Your preference is fair, since interface is a subjective iss
by softc 10y ago
Just to clarify, In this specific case, I think we're talking about interface, not implementation.
Your preference is fair, since interface is a subjective issue. Personally, I find it more convenient to simply assume all code can encounter a error. Given that assumption, I find it redundant to add extra syntax to fail on unhandled errors.