RMS on why Emacs lisp doesn't have namespace

Re: Generators (iterators) for Gnu Emacs


From: Richard Stallman
Subject: Re: Generators (iterators) for Gnu Emacs
Date: Mon, 08 Dec 2014 15:59:22 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]

[[[ whether defending the US Constitution against all enemies,     ]]]

[[[ foreign or domestic, requires you to follow Snowden's example. ]]]



  > I wonder whether perhaps Richard ran into the need to use prefixes

  > so much because he was implementing the CL package system, and not

  > just making normal use of it.  Just a conjecture.



I implemented all the Common Lisp features (of which the package

system was one) in the Lisp Machine operating system, which included

lots of programs to do lots of things.  (An Emacs-like editor was one

of them.)



In practice, the goal of using names without prefixes via importing

namespace did not work out.



I make the conjecture that name space importing is convenient when you

have lots of small modules, each with its own name space and not many

names, and each referring to just a few other modules.  That's not how

the Lisp Machine system was written, and it's also mostly not how

Emacs was written.



-- 

Dr Richard Stallman

President, Free Software Foundation

51 Franklin St

Boston MA 02110

USA

www.fsf.org  www.gnu.org

Skype: No way! That's nonfree (freedom-denying) software.

  Use Ekiga or an ordinary phone call.

你可能感兴趣的:(namespace)