Chapter 8
Creating Naming Standards
In This Chapter
Influences on naming standards
Naming code elements
Enforcing standards
Naming and coding standards are among the most important, albeit contentious, topics we cover in this book. (We discuss coding standards in Chapter 9.) Most developers agree that being consistent in both naming code structures and organizing code is vitally important for two key reasons:
Applying standards consistently makes your code easier to read and allows other developers to maintain the code much more easily.
Using good naming standards can actually help you write code faster because you won’t have to stop and think about how to name elements every time you encounter them.
Despite the almost universal agreement that standards are necessary, there is little agreement about what these standards should be. Every organization tends to evolve its own style. If you move from one organization to another, you’ll find very different naming styles and standards. ...
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