namespacing
Preventing naming collisions
Namespacing is the practice of organizing code, files, or identifiers into distinct containers to prevent naming conflicts.
When two programmers both create a function called "calculate," namespacing keeps them separate: The library uses namespacing to avoid colliding with your existing code.
The concept extends beyond programming to any system where identical names might clash—domain names, file directories, or database schemas.
Independent functional component
- packageWrapped item for delivery
- prefixRoot-modifying front element
- identifierLabel for recognition
- hierarchyRanked authority structure
scope · encapsulation · import · declaration · aliasing · qualifier · resolution · nesting
Range of clear sight
- publicAvailable to all
- privateRestricted to certain parties
- protectedKept from harm
- internalSituated within
export · import · exposure · hiding · restriction · boundary · interface · accessibility
Internet naming protocol
- URIResource identification string
- XMLStructured data markup language
- URLWeb location identifier
- domainArea of control
registry · subdomain · schema · prefix · canonical · Java · Python · C++
Opposition between parties
- clashViolent disagreement or collision
- ambiguityOpenness to multiple interpretations
- shadowingFollowing to observe
- overwritingReplacing stored data
disambiguation · uniqueness · pollution · global · isolation · separation · avoidance · prevention
module
Independent functional component
- packageWrapped item for delivery
- prefixRoot-modifying front element
- identifierLabel for recognition
hierarchy · scope · encapsulation · import · declaration · aliasing · qualifier · resolution · nesting · path
visibility
Range of clear sight
internal · export · import · exposure · hiding · restriction · boundary · interface · accessibility · scope
DNS
Internet naming protocol
domain · registry · subdomain · schema · prefix · canonical · Java · Python · C++ · JavaScript
conflict
Opposition between parties
- clashViolent disagreement or collision
- ambiguityOpenness to multiple interpretations
- shadowingFollowing to observe
overwriting · disambiguation · uniqueness · pollution · global · isolation · separation · avoidance · prevention · duplicate
name, space, naming, names, spacing, namespace, namespaces, namespaced