emacs-devel
[Top][All Lists]
Advanced

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

Re: lexicons


From: Lars Magne Ingebrigtsen
Subject: Re: lexicons
Date: Thu, 01 Aug 2013 23:57:24 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I think the prefix concept may have the same problem.
>
> Yes, it's inherent to the idea of letting people use shorter names for
> "local" entities, I think.  So you're basically arguing against providing
> any kind of namespace/module/package support.

I think packages are useful, but they also have their problems.

When writing Common Lisp, I'm glad that I don't have to read and write
foo:bar constantly, but I'm annoyed that I can't call my logging
function in foo for `log', because that's a reserved word from the CL
package.  (Your namespace suggestion doesn't have this problem, though.)

When writing Emacs Lisp, I'm annoyed that I'm typing `gnus-summary-foo'
all the time, but I'm happy that grep reliably finds all code that calls
`gnus-summary-foo', and that when I'm reading code, I know immediately
what function that's being called, context-free.

So...  er...  yes.  I think I am arguing against any kind of namespace
support.  >"?  

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php



reply via email to

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