Recent Articles



































Namespace



         


See BambooWeb:Namespace for the usage of "Namespace" in BambooWeb.

In many programming languages, a namespace is a context for identifiers.

In general, a namespace is an abstract zone which is or could be populated by names, or technical terms, or words. A namespace uniquely identifies a set of names so that there is no ambiguity when objects having different origins but the same names are mixed together. In a namespace, each name must be unique. The namespace is the context, and in the namespace each word can uniquely represent (map to) a real-world concept.

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).

[Top]

Illustration

Within the limited namespace called "your family", you might be known as "Charlie". Within a larger namespace containing strangers as well, 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.

[Top]

Examples






  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License