emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Elisp threading macros


From: Rudolf Adamkovič
Subject: Re: Elisp threading macros
Date: Fri, 30 Aug 2024 14:26:30 +0200

Garklein <garklein97@gmail.com> writes:

> I don't see what's so bad about the names `->', `-->' etc.

I find them cryptic as well (and I say that as a professional Fennel
programmer, using Clojure syntax all day long).

> After all, we commonly use functions with such cryptic names as `car',
> `cdr', and `cons' :)

This is where Emacs Lisp could learn from Clojure and introduce `first',
`next', and `pair' aliases.  Document the new names as preferred and
keep the old "historical curiosities" functional forever.  Of course,
`mapcar' and the like would have to be renamed as well, but all that is
doable if there is a will to move the readability of the "very core" of
Emacs Lisp forward, from 1950s into the 21st century.

Rudy
-- 
"Mathematics takes us still further from what is human into the region
of absolute necessity, to which not only the actual world, but every
possible world, must conform."  --- Bertrand Russell, 1902

Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]