emacs-devel
[Top][All Lists]
Advanced

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

Re: cl-lib warnings


From: Yuan Fu
Subject: Re: cl-lib warnings
Date: Fri, 23 Dec 2022 15:42:52 -0800

>> Wait, what constitutes of cl-lib dialect? Do you mean things like cl-defun?
>> I hope using cl-loop and cl-reduce, cl-remove-if and the like doesn’t make
>> code harder to read.
> 
> I think `cl-loop` does :-(
> `cl-reduce` and `cl-remove-if` are less problematic since they are
> functions,
> 
> `cl-defun` is probably fine as long as you just use `&key`, but things like
> `&aux` or destructuring are likely to make the code just harder to read.


>> 
>> Wait, what constitutes of cl-lib dialect? Do you mean things like cl-defun? 
>> I hope using cl-loop and cl-reduce, cl-remove-if and the like doesn’t make 
>> code harder to read.
> 
> 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.

Yuan


reply via email to

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