3 ms·
In a modern Common Lisp program, using conses for everything is serious code smell. It reeks of a very obsolete Lisp style and it makes code incredibly difficul
by dreamcompiler 4y ago
In a modern Common Lisp program, using conses for everything is serious code smell. It reeks of a very obsolete Lisp style and it makes code incredibly difficult to maintain. Doesn't matter if you give good names to deeply-nested list accessors; it's still a bad practice.
That doesn't mean conses and lists should be prohibited, but any use of conses/lists instead of arrays, CLOS objects, hash tables, or structs needs to be justified. And a programmer's ignorance of those other data structures is not a good enough justification.