What does “namespace” mean?
-
noun
A naming context in programming that groups identifiers to avoid conflicts
In C++, a namespace keeps class names from colliding with others.
-
noun
A set of names in a program or library considered as a unit for organizing code
The module defines a namespace for its functions and variables.
Word forms
namespaces
Often used as
- in the namespace of the library
- define a namespace in code
- global namespace in programming
- each namespace has its scope
- libraries use their own namespaces
Related words and nuances
- domain
- scope
- context
- environment
- realm
- area