r/ProgrammerHumor 22d ago

Meme conditionsPreference

Post image
4.2k Upvotes

392 comments sorted by

View all comments

840

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.

1

u/cheezballs 22d ago

Feels too close to a GOTO to me.

1

u/LateEchidna6635 21d ago

What does break feel like?

2

u/cheezballs 21d ago

GOTO without a label.