Main Page | See live article | Alphabetical index

Namespace

A namespace is an abstract universe which is or could be populated by names, or technical terms, or words. Within each namespace, each name must be unique. The namespace is the context within which a word can be uniquely mapped to the real-world concept that it represents.

Each language is a namespace, whether it is a natural (ethnic) language, a constructed language, the technical terminology of a profession, a dialect, a sociolect, or an artificial language (e.g. a programming language). Some modern programming languages such as C++ or Java can handle multiple namespaces within the language.

Examples: Within the limited world of your family, you might be known as "Charlie". Within a larger group of strangers, the name "Charlie" might not be unique, so you are instead "Charlie Brown, 17 Main Street". In (the namespace of) some other family, the name "Charlie" might refer to a different person than you.


See also: Wikipedia:namespace