|
|
|
|
|
by greener_grass
435 days ago
|
|
This could be achieved with a hierarchical namespacing scheme for functions, no? universe.mega_corp.finance_dept.team_alpha.foo
But to use `universe.mega_corp.finance_dept.team_alpha.foo` in your application, you don't import a module, just the function `foo`.Who controls what goes into the namespace `universe.mega_corp.finance_dept.team_alpha`?
That would be Team Alpha in the Finance Department of Mega Corp. I guess this is like tree-shaking by default. |
|