[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why :USE sucks in the Common Lisp package system
From: |
phoe |
Subject: |
Re: Why :USE sucks in the Common Lisp package system |
Date: |
Sun, 10 May 2020 00:07:37 +0200 |
On 10.05.2020 00:01, Daniel Colascione wrote:
> It's just as easy to use local nicknames here though. I still haven't
> seen a compelling case for :use that outweighs the risk of imprudent
> use. Why is prefix-less import of some internal utils package so
> important? If the utils package and the user of the utils package
> have the same author, they can just share a namespace instead of one
> using the other.
Sure, that is a convincing argument. The single compelling use case for
:USE is not needing to type CL:IF everywhere you want to type IF,
CL:DEFUN everywhere you want DEFUN, et cetera; literally everything else
is achievable via package-local-nicknames instead of that.
The big issue is that decades- or even years-old code authors did not
have PLNs at their disposal, and even though they were available in SBCL
for a long time, they were not widespread in the CL ecosystem. Now the
situation has changed and they are close enough to be supported by all
contemporary alive implementations - the people who wrote Lisp code back
in the day were unable to use such luxuries while maintaining readable
code of their own libraries.
- Re: Proper namespaces in Elisp, (continued)
- Re: Proper namespaces in Elisp, Andrea Corallo, 2020/05/09
- Re: Proper namespaces in Elisp, Daniel Colascione, 2020/05/09
- Re: Proper namespaces in Elisp, Andrea Corallo, 2020/05/09
- Why :USE sucks in the Common Lisp package system, phoe, 2020/05/09
- Re: Why :USE sucks in the Common Lisp package system, João Távora, 2020/05/09
- Re: Why :USE sucks in the Common Lisp package system, phoe, 2020/05/09
- Re: Why :USE sucks in the Common Lisp package system, Daniel Colascione, 2020/05/09
- Re: Why :USE sucks in the Common Lisp package system,
phoe <=
- Re: Why :USE sucks in the Common Lisp package system, João Távora, 2020/05/09
- Re: Why :USE sucks in the Common Lisp package system, phoe, 2020/05/10
- Re: Why :USE sucks in the Common Lisp package system, Andrea Corallo, 2020/05/09
- Re: Why :USE sucks in the Common Lisp package system, Andreas Schwab, 2020/05/10
- Re: Why :USE sucks in the Common Lisp package system, Helmut Eller, 2020/05/10
- Re: Why :USE sucks in the Common Lisp package system, phoe, 2020/05/10
- Re: Proper namespaces in Elisp, Vladimir Sedach, 2020/05/09
- Re: Proper namespaces in Elisp, Andrea Corallo, 2020/05/08
- Re: Proper namespaces in Elisp, Stefan Monnier, 2020/05/08
- Re: Proper namespaces in Elisp, Andrea Corallo, 2020/05/09