help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Advantage using mapc over dolist


From: Stefan Monnier
Subject: Re: Advantage using mapc over dolist
Date: Tue, 03 Dec 2024 09:11:08 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

>>           (pcase actm
>>            ('armg (do-this))
>>            ('go (do-that))))
>
> this does not justify pcase, use ecase or case instead

That's your personal preference.
My own personal preference is to forget about
case/cl/case/ecase/cl-ecase and just use `pcase` like the author
already did.

There's no need to "justify" the use of `pcase` for simple cases any
more than there's a need to justify the use of Emacs for trivial edits.


        Stefan




reply via email to

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