3 ms·
We've moved past it now with having errors just be part of the type and signature so you can use language tools to deal with them like any other type instead of
by scarejunba 7y ago
We've moved past it now with having errors just be part of the type and signature so you can use language tools to deal with them like any other type instead of having special syntax. I like that. It allows you to express certain concepts more easily. For instance, "in case of failure, use blank" looks nicer in Rust than in Java, and so you're more likely to use it. Java is also sort of moving this way because checked-exception methods don't play well with Streams syntactically.