Namespace

  • a naming system used to make sure that names are unique to avoid naming conflicts.
  • a container where names are mapped to objects, they are used to avoid confusions in cases where same names exist.
  • the LEGB (Local Enclosing Global Build-in) rule is used to decide the order in which the namespaces are to be searched for scope resolution.

Namespace — Structure map

Clickable & Draggable!

Namespace — Related pages: