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

Re: Long names are doom ?



Jochen Schmidt <jsc@dataheaven.de> writes:
> Yes. In Common Lisp long identifiers are often used.
> 
> Take a look in 
> "The Art of the Metaobject Protocol"
> to see identifiers like:
> 
> generic-function-argument-precedence-order
> update-instance-for-different-class
> ensure-generic-function-using-class

You don't need to find a book (even though it is a good book);
UPDATE-INSTANCE-FOR-DIFFERENT-CLASS made it into the CL standard.
It's not even the longest standard name, there are 8 longer ones, up
to 38 characters.

Looking at a CL implementation I happen to have here (LispWorks), the
longest symbol in it, discounting automatically generated ones, is
CAPI:*MAXIMUM-NUMBER-OF-EDGES-TO-DYNAMICALLY-TRACK-DURING-GRAPH-MOTION*.
That could be shorter, but I don't see anything hard to read about it.
-- 
Pekka P. Pirinen, Harlequin Limited, Cambridge, UK
There may be no candidates you want to vote for, but there are
certainly some you want to vote *against*.



References: