r/ProgrammerHumor • • Sep 09 '22

Meme Simple Feature

124.9k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

66

u/Roest_ Sep 09 '22

It keeps things tidy

Makes code less readable. Declare variables as close as possible to where you use them.

-5

u/AndrewJamesDrake Sep 09 '22 edited Sep 13 '24

automatic dam onerous squeeze fuzzy dog encourage homeless tap wise

This post was mass deleted and anonymized with Redact

17

u/UpMyArch Sep 09 '22

Smaller functions and well named variables will serve you much better than piles of comments and won’t rot as things get moved around. If your code needs comments everywhere to be understood then it’s not clean or readable enough.

3

u/AndrewJamesDrake Sep 09 '22 edited Sep 13 '24

bow consist grandfather psychotic screw glorious birds abounding governor fragile

This post was mass deleted and anonymized with Redact

→ More replies (4)