Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, 3rd Edition
by Krzysztof Cwalina, Jeremy Barton, Brad Abrams
3
Naming Guidelines
Following a consistent set of naming conventions in the development of a framework can be a major contribution to the framework’s usability. It allows the framework to be used by many developers on widely separated projects. Beyond consistency of form, names of framework elements must be easily understood and must convey the function of each element.
The goal of this chapter is to provide a consistent set of naming conventions that results in names that make immediate sense to developers. Most of these naming guidelines are simply conventions that have no technical rationale. However, following them will ensure that the names are understandable and consistent.
Although adopting these naming conventions as general code development ...
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