News for hackers. Stuff that matters.
Re:Manifold: Java Type-Safe Metaprogramming, Structural Typi... by hota_mazi on Saturday May 04, 2019 @01:45PM (#19827971)
The fact that a function can fail is not an implementation detail, it should be part of the signature of the method.

And if the method can suddenly fail in a new way, that signature should change so that callers of that method can adjust to the new failure case.

Checked exceptions force you to consider error cases, there's nothing stupid about them.

There are no comments on this comment yet.