3 ms·
> Checking errors is dreadful. That's true, but that doesn't mean we should pretend the problem does not exist. Using unchecked exceptions is sweeping things
by pkolaczk 5y ago
> Checking errors is dreadful.
That's true, but that doesn't mean we should pretend the problem does not exist.
Using unchecked exceptions is sweeping things under the carpet. Generally unchecked exceptions should be used only for bugs (array index out of bounds) or unrecoverable situations (JVM crash, no memory). I/O does not belong there.