The Power of Naming Conventions
Some programmers resist standards and conventions—and with good reason. Some standards and conventions are rigid and ineffective—destructive to creativity and program quality. This is unfortunate since effective standards are some of the most powerful tools at your disposal. This section discusses why, when, and how you should create your own standards for naming variables.
Why Have Conventions?
Conventions offer several specific benefits:
They let you take more for granted. By making one global decision rather than many local ones, you can concentrate on the more important characteristics of the code.
They help you transfer knowledge across projects. Similarities in names give you an easier and more confident understanding ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access