5 ms·
Simpler names is certainly less idiomatic (sibling comments have already mentioned why), so it's a fair complaint. Note that the lisp equivalent of foo.bar(x).
by aidenn0 10y ago
Simpler names is certainly less idiomatic (sibling comments have already mentioned why), so it's a fair complaint.
Note that the lisp equivalent of foo.bar(x).baz(y) would be something like:
(send (send foo :bar x) :baz y)) which can be made even more terse with a macro, doing something like (@ foo (:bar x) (:baz y)). This was how most pre-CLOS object systems in lisp worked, and CLOS supplanted this.
Implementing SEND in CLOS is trivial.
There are many people who experienced SEND style object systems and CLOS but I haven't found any of them to be detractors of CLOS, which is what prompted my original question; lisp had something much closer to smalltalk before switching to CLOS and if there is a group of lispers who want to go back to that, they are in a small minority.