logoalt Hacker News

kaoD • today at 6:29 PM • 1 reply • view on HN

I agree but I think was also because Java didn't have sum types (or still doesn't? years I haven't read Java) and rethrowing is super easy, while Rust kinda nudges you into the right direction (if you need to rethrow at all, think if you want to rethrow verbatim or wrap with a semantic error type).

Right idea at the wrong time.


Replies

zmmmmm • today at 8:49 PM

yep, 90% ergonomics in my view. If it had its time again with modern ergonomics thing could look very different.