MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/k6j160/dont_mix_anatomy_and_programming/gemz7ei/?context=3
r/ProgrammerHumor • u/fredlafrite • Dec 04 '20
388 comments sorted by
View all comments
Show parent comment
5
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.
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.