Re:Code Design Decision – Always throw custom exceptions
by int_19h on Wednesday December 21, 2022 @02:58AM
(#34077879)
The point is that the type system doesn't properly reflect that. You should be able to declare a generic method that takes some T, and throws everything that T.foo() throws, for example.
[ Parent
| on HN ]
There are no comments on this comment yet.