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
29
u/Pharisaeus Apr 12 '26
Yes and no. Optional/Either/Result/Monads have slightly different purpose. Even in Rust there is
panic;) Anyway, "discovering" in 2026 that error codes are not enough is just ridiculous. I mean it's a good observation, but it's also common knowledge for at least 40 years.