insertcredit
Joined 8 years ago
Joined 8 years ago
Emacs Lisp is a Lisp-2.
Emacs Lisp has lexical scope.
When writing code in Emacs, Emacs Lisp for all intents and purposes can be seen as a subset of Common Lisp, not an entirely different language like you present it to be.
Please try not to propagate this sort of misinformation again in the future. The things you claim are obviously wrong to anyone who has ever used Emacs Lisp, even once. Have you ever done that?
I'm pretty sure all of that does not translate in me not telling you anything.
cl-lib.el is not discouraged, it's widely used by Emacs itself and pretty much every substantial Emacs Lisp library out there.
What's discouraged is using an older version, cl.el, at runtime [1] because it replaces existing Emacs Lisp functions and pollutes the namespace. Even that's ok to use at compile time though.
Lastly, cl-lib.el is not cumbersome to use.
[1] https://www.gnu.org/software/emacs/manual/html_node/cl/Organ...
A question I'd really like to find the answer to: Why is there so much crapware for CL?. Why doesn't the community come together behind the few, really good, libraries but instead almost everyone goes out and does his own thing, the end result being an ocean of crap.