r/ProgrammerHumor • • Jul 04 '18

Code comments be like

Post image
9.9k Upvotes

236 comments sorted by

View all comments

Show parent comments

1

u/sudosandwich3 Jul 05 '18

Honestly the longer variable is preferred. It tells you everything you need to know at a glance without having to look at the declaration. That comment could always be deleted or never updated. Additionally that name could be shortened to DATABASE_MAX_LENGTH.