13 Feb
2015
13 Feb
'15
10:17 p.m.
Morten Z wrote:
Namespaces are widely used in Python, but it appear that creating a namespace has no short form,
Most of the time people create dedicated classes for their namespaces, though. It's very rare to see the use of an ad-hoc namespace such as SimpleNamespace provides. It seems to me like a feature that novice programmers think they want, until they learn that there are better ways of going about it. -- Greg