|
|
|
|
|
by flavio81
3225 days ago
|
|
> In my humble opinion Common Lisp is the classic example of the kitchen sink syndrome, where many pieces taken from various dialects were put together in a hurry. Can you give a particular example? I have read many times about people speaking about the amount of "cruft" that was left into Common Lisp, but frankly i've yet to find any cruft. Some people use as an example the fact that there is "CAR " and "CDR", but in this particular topic: 1) you could use "first" and "rest" if you wnat, instead of "car" and "cdr"
2) Using "car" and "cdr" is good because it shows that you are explicitely wanting to modify cons cells;
3) "car" and "cdr" is to Lisp what "*" is to C; that is, part of the charm!! |
|
Car and cdr are small miracles because they give us of caddr or caadr and friends. It is beautiful accident which should be appreciated and preserved.