Comment by kbp
8 years ago
Date: 5 March 1980 08:54-EST
From: Mark L. Miller <MILLER at MIT-AI>
To: Dave.Touretzky at CMU-10A, RWK
cc: KMP, HIC, BUG-LISP
Re: CAR and CDR
Of course, you could rename them to, e.g., "LHS" and "RHS" for "Left Hand
Side" and "Right Hand Side". This would address the composition argument
in favor of CAR and CDR: CADR -> LRHS (left-hand-side of right-hand-side),
CDADADR -> RLRLRHS, and so on. It's easy to provide these as macros.
Later, you can explain that the original names are CAR and CDR, and isn't
that silly, etc.
Regards, Mark
Shows you how resilient car and cdr have been against decades of complaining and bikeshedding. That just reaffirms them.
I would accept that if Lisp were a runaway success, but it's not. It is very nearly a dead language [1]. It is entirely possible that the unwillingness of the Lisp community to give up in this obscure terminology in favor of something more user friendly contributed to its demise.
[1] Look at e.g. https://madnight.github.io/githut/. The most popular Lisp is Clojure, with a whopping 0.33% market share. Scheme and Common Lisp don't even make it to the top 50.
> It is entirely possible that the unwillingness of the Lisp community to give up in this obscure terminology in favor of something more user friendly contributed to its demise.
What more-user-friendly terminology do you suggest?
4 replies →
CL was #45 in the car quarter of 2017; by cadr, it slipped into the long(er) tail.