3 ms·
I tend to use car and cdr when I'm writing functions with some kind of list recursion, and first and rest when I'm using lists as a data structure - not so much
by inglesp 19y ago
I tend to use car and cdr when I'm writing functions with some kind of list recursion, and first and rest when I'm using lists as a data structure - not so much of a difference really, but seems to be a useful way to see quickly what a function's doing.