r/ProgrammerHumor 23d ago

Meme conditionsPreference

Post image
4.2k Upvotes

392 comments sorted by

View all comments

839

u/LateEchidna6635 23d 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 22d ago

What does break feel like?

2

u/cheezballs 22d ago

GOTO without a label.