MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/16hd9mv/godeveloperswillappreciateit/k0ftmzj/
r/ProgrammerHumor • u/sunrise_apps • Sep 13 '23
144 comments sorted by
View all comments
Show parent comment
1
Exceptions are only expensive when thrown. Typical implementations are faster on the happy path.
1 u/aMAYESingNATHAN Sep 13 '23 Exactly, so you should still use them, but only for exceptional errors. They are not a sole drop in for all error handling.
Exactly, so you should still use them, but only for exceptional errors. They are not a sole drop in for all error handling.
View all comments
Show parent comment
1
u/Kered13 Sep 13 '23
Exceptions are only expensive when thrown. Typical implementations are faster on the happy path.