please don't use one-letter nicknames (eg :d)
Bug #1116213 reported by
Tamas Papp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ASDF |
Fix Released
|
High
|
Faré |
Bug Description
CLNU> (package-nicknames :asdf-driver)
("ASDF-UTILS" "ASDF-DRIVER" "D")
Although there is no agreed-upon policy against very short nicknames, I don't think that one- or two-letter nicknames are a very good idea for non-internal use, as clashes are very likely. Upon loading asdf-driver, I immediately had a conflict with the nickname :d which is use for an (unreleased) debugging library of mine.
Maybe asdf-d would be a good choice?
To post a comment you must log in.
asdf-d is clearly out of the question, since the whole point is to have a very short nickname.
:ad would probably be just as clashy. I'd rather remove the nickname altogether.
All in all, it's indeed a matter of claiming a scarce resource, or leaving it unclaimed.
If you're claiming the global resource — well, so did I, and I seem to have done it publicly first.
If you're claiming a policy to leave it globally unclaimed — that would only make the resource scarcer and less useful, unless we either
1) encourage people to have unpublished and unpublishable libraries with short names
(akin to the 10. network in IPv4)
2) encourage people to locally rename their packages to have shorter names.
Yet in either of these cases, whichever mechanism is used to give those libraries short names
global or local could easily deal with shadowing the nickname of the global library,
as with my package-renaming system, for instance.
I require more opinions on the matter.