T B H P N

Design Concept - Namespaces

Use to define Project Taxonomy

Namespaces are used to remove ambiguity from references. Why not use those names to help readers understand your design?

Conclusions for Namespace Taxonomy:

All the software within a package must have unique public names, including its references to objects in other packages, otherwise compilation fails. Additionally public names must be unique over all the code linked into a single execution image or dynamic link library, otherwise linking fails.
  1. When you write code in a project with multiple developers you need to use namespaces to insure that names are not ambiguous.
  2. You make your design easier to understand if you make the namespace names reveal your design intentions.
If you've used the Object Browser in Visual Studio, you've seen the benefit of this idea. The structure of the Standard C++ Library and .Net APIs are nicely revealed by the namespace names used throughtout that software.

CST strip