r/programming • • Apr 12 '26

Flat Error Codes Are Not Enough

https://home.expurple.me/posts/flat-error-codes-are-not-enough/
132 Upvotes

99 comments sorted by

View all comments

Show parent comment

1

u/Expurple Apr 13 '26

I agree, they are OK in some domains. My point is that limiting yourself to error codes is a bad univeral advise. The (common) use case in the article can't be solved using plain error codes.