3 ms·
That's fair. Lack of inference is also a huge problem with Java's checked exceptions. My point is less that Java could have done this differently with the othe
by lolinder 4y ago
That's fair. Lack of inference is also a huge problem with Java's checked exceptions.
My point is less that Java could have done this differently with the other type choices that they made and more that it's a shame that Java's implementation of checked exceptions has poisoned the concept for so many. I think a language with strong type inference and a checked exception mechanism would be better than Rust's Result type because you get the stack trace.