namespace
- noun
- /ˈneɪmˌspeɪs/
- Specialized
- In programming, using a different namespace can help avoid conflicts between functions with the same name.
Examples
-
Inkscape SVG files use the Inkscape namespace to store some extra information used by the program.
Blog text (26) -
The .NET Framework uses namespace nesting a lot, with good reason.
Blog text (19) -
But we also had another namespace in use that we identified above.
Blog text (19) -
So what's an example of a global namespace these guys worry about?
-
The name of your namespace reflects who created it and what its purpose is.
Blog text (19) -
It's always private because these namespaces are only used inside of our view.
-
Also required is the namespace to use when parsing the response.
Blog text (6) -
In the second part of our learning C# series, we're going to explain namespaces.
Blog text (19) -
But in the portable assembly project, the "System.Threading.Tasks" namespace is not available.
Blog text (30) -
Namespaces ensure uniqueness. Namespaces can determine how a method is used.
Blog text (19)
Surface Forms
Morphology
Etymology
The word namespace is made of name and space, meaning a 'space' for 'names'. Think of it like separate shelves with labels so names do not get mixed up, and in computing a namespace keeps names apart to avoid conflicts.