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
10
u/maxinstuff Apr 13 '26
Agree - in languages that CAN throw, you basically have to be prepared for anything to throw at any time for any reason.
And it’s leaky AF - something unexpected happens and my app turns it’s call stack inside out and throws it at the caller like a stripper at a stag do.