[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help sought understanding shorthands wrt modules/packages
From: |
Yuri Khan |
Subject: |
Re: Help sought understanding shorthands wrt modules/packages |
Date: |
Wed, 9 Nov 2022 12:42:24 +0700 |
On Wed, 9 Nov 2022 at 11:04, Richard Stallman <rms@gnu.org> wrote:
> There was a feature that let you specify, in one package FOO, "Let me
> omit package prefixes when I refer to symbols from package BAR."
> The general idea is a nice one, but it doesn't work in Lisp.
This feature exists in C++, Python, Scala, and many other languages,
and most code style guides frown upon using it, for the very reasons
you cite. It is tolerated sometimes for tightly coupled modules, like
a library and its automated tests, or a public interface module of a
library importing its internal implementation modules wholesale.
Point is: wholesale import is a sharp tool best reserved for very
special circumstances.
- Re: A short defense of shorthands.el (but CL packages are still better), (continued)
Re: Help sought understanding shorthands wrt modules/packages, Richard Stallman, 2022/11/04
Re: Help sought understanding shorthands wrt modules/packages, Richard Stallman, 2022/11/08
Re: Help sought understanding shorthands wrt modules/packages,
Yuri Khan <=
Re: Help sought understanding shorthands wrt modules/packages, tomas, 2022/11/09
Re: Help sought understanding shorthands wrt modules/packages, Matt Armstrong, 2022/11/09
Re: Help sought understanding shorthands wrt modules/packages, Juanma Barranquero, 2022/11/09
Re: Help sought understanding shorthands wrt modules/packages, Gerd Möllmann, 2022/11/09
Re: Help sought understanding shorthands wrt modules/packages, Helmut Eller, 2022/11/09
Re: Help sought understanding shorthands wrt modules/packages, Matt Armstrong, 2022/11/09
Re: Help sought understanding shorthands wrt modules/packages, Richard Stallman, 2022/11/08
Re: Help sought understanding shorthands wrt modules/packages, Matt Armstrong, 2022/11/09
Re: Help sought understanding shorthands wrt modules/packages, Richard Stallman, 2022/11/02