3 ms·
Returning an error code or throwing an exception result in the same problem. In one case, the error code is ignored. In the other, the exception is swallowed. I
by nine_k 8y ago
Returning an error code or throwing an exception result in the same problem. In one case, the error code is ignored. In the other, the exception is swallowed. I bet that monadic binding (as now widespread with the use of promises) can be equally abused.
The problem is in the engineering culture, not the particular tool used.