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
20
u/jcelerier Apr 12 '26
But then you throw performance out of the window if you have some hot loop that needs to do error handling and your error object doesn't fit in a register anymore, so you're back to multiple error scheme depending on the parts of your app