[pro] Learning Lisp the Bump Free Way

Scott McKay swm at itasoftware.com
Fri Jan 21 14:07:24 UTC 2011


On Jan 21, 2011, at 8:43 AM, Erik Winkels wrote:

> On Fri, Jan 21, 2011 at 07:48:50AM -0500, Daniel Weinreb wrote:
>> 
>> Our utility library calls it "strcat".  I think string-concat is
>> probaby better.

I picked 'strcat' as a nod to C, but I wholeheartedly fall into
the Dave Moon camp: more descriptive is better, at least for any
exported names, almost always.

>> 
>> Dave Moon established the general ethic on the Lisp machine of using
>> longer, clearer names in general.
> 
> I generally prefer more descriptive (and hence usually longer) names
> but for this specific case I settled on "mkstr" from Paul Graham's "On
> Lisp" years ago, because this function is used so often and many times
> used inline.
> 
> _______________________________________________
> pro mailing list
> pro at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/pro





More information about the pro mailing list