No, Common Lisp has both sets of operators; it has car, cdr and all the combinations of c(a|d)+r you can handle, it also has the ordinal number words, first, second .. tenth, and rest.
The difference is that first, rest et al. are used when the data being handled are proper lists. A list of items terminated by nil.
Car, cdr and others can be used with lists as well, but they're more primitive operations that mean cons cells; a pair data structure that has two parts. You can view a proper list as "a primitive pair data structure that has the first item of the list as its first cell, and has its second items a pointer to rest of the list" .. and construct the rest inductively.
You can't use first and rest to operate on associative lists, graph structures cyclical or otherwise and a host of other data structures.
Some programmers decide to make their intent clear when operating on proper lists, while others prefer to stick to car and cdr out of habit, nostalgia, not-knowing better, street cred, or as a cheapwaytoadvancepointers with one compact operation.
CAR and CDR are less relevant now that people use CLOS, CL's Object System, and to a lesser extent structures. Defstruct gives you the accessor FREE, it constructs the accessor functions as classname-slotname for the reader and (setf classname-slotname) for the update/write function. With CLOS you can choose the name for it with an initialization argument (:initarg :accessor, :reader, or :writer)
Please update your Common Lisp prejudice check-list.
The difference is that first, rest et al. are used when the data being handled are proper lists. A list of items terminated by nil.
Car, cdr and others can be used with lists as well, but they're more primitive operations that mean cons cells; a pair data structure that has two parts. You can view a proper list as "a primitive pair data structure that has the first item of the list as its first cell, and has its second items a pointer to rest of the list" .. and construct the rest inductively.
You can't use first and rest to operate on associative lists, graph structures cyclical or otherwise and a host of other data structures.
Some programmers decide to make their intent clear when operating on proper lists, while others prefer to stick to car and cdr out of habit, nostalgia, not-knowing better, street cred, or as a cheap way to advance pointers with one compact operation.
CAR and CDR are less relevant now that people use CLOS, CL's Object System, and to a lesser extent structures. Defstruct gives you the accessor FREE, it constructs the accessor functions as classname-slotname for the reader and (setf classname-slotname) for the update/write function. With CLOS you can choose the name for it with an initialization argument (:initarg :accessor, :reader, or :writer)
Please update your Common Lisp prejudice check-list.