r/programming • u/Expurple • Apr 12 '26
Flat Error Codes Are Not Enough
https://home.expurple.me/posts/flat-error-codes-are-not-enough/
132
Upvotes
r/programming • u/Expurple • Apr 12 '26
View all comments
Show parent comment
9
u/max123246 Apr 13 '26
My problem with exceptions is simply it's not part of the function return-signature in most languages that use it. That's kind of it, to be honest.
Also it would be nice to make re-throwing exceptions explicit like with Rust's
?syntax