Most of my Lisp experience comes from Elisp. As such, I find myself writing Lisp only on occasion. By the time I come back to it, I often forget the difference between car
and cdr
and need to reference the docs to jog my memory.
What kinds of clever mnemonics do you use to remember the difference between Lisp functions that have naming roots stemming from 1954 era computer architectures (car, cdr, cadr, caar, cddr, etc)?
In addition, why haven't the well-named aliases of first
and rest
gained more traction as idiomatic alternatives for car
and cdr
?
Update: I know the actual definitions of car
and cdr
and how they should be pronounced. Mnemonics only please.
Full Disclosure: This question isn't entirely for me. It's to help other Lisp newcomers get past some of the initial hurdles.