Comment

Comment by redditor98654

A while ago, I had attempted to do it the Rust style with a Result type in Java (where it is called Data oriented programming) and the result is not great. I was fighting a losing battle in a naive attempt to replace checked exceptions but still retain compile time type safety.

https://www.reddit.com/r/java/s/AbjDEo6orq

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton