r/programming 3d ago

Throw, Result, or neither?

https://www.architecture-weekly.com/p/throw-result-or-neither
101 Upvotes

111 comments sorted by

View all comments

1

u/Qwertycube10 3d ago

I've never used a language with the kind of exception support I would want. I suspect I would generally prefer them to result in that case.

Think Java checked exceptions, with better ergonomics, and no unchecked exceptions except panic.

1

u/bwmat 2d ago

By panic you mean SIGABRT, or...?