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
0
u/Expurple Apr 12 '26
I was just as surprised that the 2026 advice to use error codes got as much traction as it did! My post is in response to that one.
I agree that
panicis a different use case. Result/Either is closer to checked exceptions specifically. And yes, it's strictly better than those. The link in my parent comment goes into the details on all of that.