Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
A well-known easter egg in Python displays some ideas about writing good Python code, credited to Tim Peters (one of the core developers). This question is about the last: Namespaces are one hon...
#1: Initial revision
What does "namespace" mean?
A well-known [easter egg](https://stackoverflow.com/questions/43577404) in Python displays some ideas about writing good Python code, credited to Tim Peters (one of the core developers). This question is about the last: > Namespaces are one honking great idea -- let's do more of those! It seems that the concept of a "namespace" appears in programming generally, not just in Python. Presumably this concept is important, given its inclusion here. However, it's hard to pin down a clear definition simply from considering its use in context. For example, I have seen a class [`SimpleNamespace`](https://docs.python.org/3.8/library/types.html#types.SimpleNamespace) in the Python standard library; but it seems like the term is also used to describe things that are not actually objects in a program at runtime at all. What exactly is a "namespace"? Does it refer to one specific concept that has particular properties regardless of the programming language? Or else how exactly should I understand it?