As names, car and cdr are great: short, and just the right visual distance apart. The only argument against them is that they're not mnemonic. But this is a weak argument.
-
-
I'm not sure if my meaning was clear. Is there a reason that people need to know how lists are implemented, or could a Lisp user plausibly think that lists are first-class data structures? If someone might not realize how lists are implemented, the names c[ad]r won't mean much.
-
I agree that cons cells can be used for things other than creating lists; but the fact that lists are necessarily built out of cons cells seems like an implementation detail. (And potentially one to avoid, e.g. for improved performance with handling large lists.)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.