2 ms·
Exceptions are not side effects since no state mutation occurs. If you really want to see everything through the FP lens, exceptions are exactly like Result<T,
by int_19h 1y ago
Exceptions are not side effects since no state mutation occurs.
If you really want to see everything through the FP lens, exceptions are exactly like Result<T, E> with implicit do-notation.