Sign in
Log inSign up

What guidelines do you follow for naming variables in your program?

Tom Alter's photo
Tom Alter
·Jun 30, 2016

Sometimes you need to have a really long name in order to aptly describe what the variable does. If you give it a short name it may not be self explanatory. So, what guidelines and tips do you follow?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2025 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct