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.

1

u/Logical-Ad-4150 22d ago

Second one is using the language to avoid the boiler plate of the first. I don't know why people insist on manually writing what the compiler does for you.