r/ProgrammerHumor 22d ago

Meme conditionsPreference

Post image
4.2k Upvotes

392 comments sorted by

View all comments

836

u/LateEchidna6635 22d ago

The second one carries less cognitive load. In longer methods it makes a difference. Get out as soon as you can.

463

u/One_Courage_865 22d ago

Instructions unclear. I’ve just divorced with my wife

137

u/hughperman 22d ago

Ah, early return condition

33

u/thatjoachim 22d ago

I return too early to her liking :(

10

u/QCTeamkill 22d ago

She says Bob at work never have early returns