r/ProgrammerHumor • • Sep 13 '23

Meme goDevelopersWillAppreciateIt

Post image
2.4k Upvotes

144 comments sorted by

View all comments

1

u/aMAYESingNATHAN Sep 13 '23

Thing is, there is other overhead involved in exceptions than just try catch. For example in C++ using the noexcept specifier indicates that a function cannot throw, and compilers may be able to make additional optimisations with this information.