[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Ivan Shmakov
Subject: namespaces
Date: Tue, 09 Dec 2014 19:35:26 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Stefan Monnier <address@hidden> writes:

 >> 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.

 > In languages like SML, the common style is to always use qualified
 > names, tho the modules used in a file get locally renamed to use
 > shorter prefixes.

        FWIW, my own preference for namespace-aware languages (that’s
        Scheme 48, Perl 5, and a few others) was always to import only
        what’s strictly necessary.

        Typically, of each module, only a few functions are used, so
        even without a prefix, they don’t really clutter the namespace.

FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A

reply via email to

[Prev in Thread] Current Thread [Next in Thread]