Modules vs name spaces (Was: Global namespace)
Pascal Costanza
costanza at web.de
Wed Oct 29 17:36:52 EST 2003
Harald Hanche-Olsen wrote:
> + j-anthony at rcn.com (Jon S. Anthony):
>
> | There's a difference between modules and name spaces, though modules
> | in many languages also serve as name spaces.
>
> I have heard this one before, but have never quite understood the
> difference. I am quite familiar with Lisp's packages and python's
> modules, and sure enough they are quite different, but I lack a clear
> conceptual distinction between modules and name spaces. (I think it
> was even mentioned during an earlier discussion on c.l.lisp that it
> may be useful to have both available in the same language.)
>
> So, can anyone either explain the difference, or point to a resource
> (preferably on the web) that explains it?
http://www.flownet.com/gat/packages.pdf and
http://www.flownet.com/gat/locales.pdf are excellent papers IMHO.
Pascal
More information about the Python-list
mailing list