Global namespace (was Re: python libs v lisp coolness?

Kenny Tilton ktilton at nyc.rr.com
Wed Oct 29 11:35:53 EST 2003



Ville Vainio wrote:
> Paolo Amoroso <amoroso at mclink.it> writes:
> 
> 
>>The lack of Lisp libraries is being addressed.
> 
> 
> Are they also going to address the lack of modules? The way I've seen
> Lisp used, everything is dumped into a global namespace (even
> "methods" in CLOS). I shudder at the thought of using Python where all
> the names from various modules would be in the global namespace.
> 
> in Python you can do:
> 
> import os
> 
> files = os.listdir("/root")
> 

Python and Lisp, separated at birth?

   (require 'os)
   (defparameter *files* (os::listdir "/root"))

kenny

-- 
http://tilton-technology.com

Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film

Your Project Here! http://alu.cliki.net/Industry%20Application





More information about the Python-list mailing list