3 ms·
The language cannot force it but can encourage it. Having to make the choice between private and public is worthwhile I think. > being able to do dir(lib) and
by andreasvc 11y ago
The language cannot force it but can encourage it. Having to make the choice between private and public is worthwhile I think.
> being able to do dir(lib) and see the namespace that is in use is a good thing.
It is, but it is most useful when what you get a curated list of members (__all__) intended to be public.