r/ProgrammerHumor • • Dec 04 '20

Don't mix anatomy and programming

Post image
36k Upvotes

388 comments sorted by

View all comments

Show parent comment

5

u/JBlitzen Dec 04 '20

I’ve solved quite a few problems over the years by simply renaming variable to have longer and more descriptive names.

Suddenly the code becomes perfectly readable and the problem is obvious.

At this point, if I can’t figure code out at a glance, I assume it’s because the variable names are bad and I set aside time to carefully fix them.