what's so difficult about namespace?

Wojtek nowhere at a.com
Wed Nov 26 23:14:27 CET 2008


Kaz Kylheku wrote :
> Javascript programs are scanned at the character level by the browser as part
> of loading a page.  So there are severe practical limitations on how large
> Javascript programs can be.

> Namespaces are useful only in very large programs.

But even more useful where you are getting libraries from several 
sources.

Without a generally acknowledged name space scheme different developers 
will tend to walk all over each others variable/function names. 
Especially as Javascript has global variables.

-- 
Wojtek :-)





More information about the Python-list mailing list