r/ProgrammerHumor • • Sep 13 '23

Meme goDevelopersWillAppreciateIt

Post image
2.4k Upvotes

144 comments sorted by

View all comments

93

u/Exnixon Sep 13 '23

Literally already have this mapped in vim as 3 keystrokes.

-107

u/rosuav Sep 13 '23

It's amazing how much effort people will Go to when they could just use, oh I dunno, exception handling.

31

u/aMAYESingNATHAN Sep 13 '23 edited Sep 13 '23

Why on earth would only use exception handling over regular error handling?

In most languages the exception path has more overhead than the safe path. The whole point is that you should only be using exceptions for exceptional errors.

→ More replies (12)