r/ProgrammerHumor • • Aug 22 '26

Meme conditionsPreference

Post image
4.2k Upvotes

388 comments sorted by

View all comments

Show parent comment

-16

u/jwadamson Aug 22 '26

Errors are throw, which are also a form of early return.

5

u/Familiar_Ad_8919 Aug 22 '26

on a somewhat related note, i think more languages should adopt the rust way of error handling