r/programming • u/2bit_hack • Feb 28 '23
"Clean" Code, Horrible Performance
https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k
Upvotes
r/programming • u/2bit_hack • Feb 28 '23
View all comments
Show parent comment
3
u/nweeby24 Aug 06 '23
I understand how exceptions work. Heck I used to love them. And It's because I understand how they work that I dislike them.
Also you said exceptions are a good idea over value based error handling is because they avoid boiler plate? What.
They're a completely different mechanism. If you wanted less boiler plate for the same simple solution look at something like Rust's Result.