emacs-devel
[Top][All Lists]
Advanced

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

Re: cl-lib warnings


From: Dmitry Gutov
Subject: Re: cl-lib warnings
Date: Sat, 24 Dec 2022 15:01:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 24/12/2022 08:40, Eli Zaretskii wrote:
From: Yuan Fu<casouri@gmail.com>
Date: Fri, 23 Dec 2022 15:42:52 -0800
Cc: Juanma Barranquero<lekktu@gmail.com>,
  João Távora<joaotavora@gmail.com>,
  juri@linkov.net,
  monnier@iro.umontreal.ca,
  emacs-devel@gnu.org

Yes, cl-loop is one of the worst offenders in my eyes.  If I want to
use Fortran or C, I will use Fortran or C; I don't want to see Fortran
for-loops in Emacs Lisp.
Darn it! I loved cl-loop 😄 I’ll curb my use of cl-loop in Emacs codebase.
Thank you.  IMHO, it should be used only when using the normal ELisp
constructs makes the code too complex to understand.

In at least some cases, it's the most readable among the fastest ways to implement some feature (i.e. when you need to map+filter, it avoids intermediate allocations).



reply via email to

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