2 ms·
> Exceptions are an anti-pattern. If a function can encounter an error, it should expose this fact through its interface (specifically its return type). this i
by jcelerier 4y ago
> Exceptions are an anti-pattern. If a function can encounter an error, it should expose this fact through its interface (specifically its return type).
this is how you end up with java checked exceptions where 10% of the codebase is programmer trying to circumvent them and turning errors into silence because of how bad they are