8 ms·
This is why I will never stop trying to insert throws declarations into code I write. For some reason, Java developers seem to like hiding the fact their functi
by jeroenhd 3y ago
This is why I will never stop trying to insert throws declarations into code I write. For some reason, Java developers seem to like hiding the fact their function can throw exceptions.
The syntax problem gets mentioned a lot ("we'll just end up catching and rethrowing it anyway") but at that point you can just add throws to the calling method.