emacs-devel
[Top][All Lists]
Advanced

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

RE: [External] : Re: [elpa] main 2ec80977e1: * elpa-packages (dired-prev


From: Drew Adams
Subject: RE: [External] : Re: [elpa] main 2ec80977e1: * elpa-packages (dired-preview): New package
Date: Fri, 14 Jul 2023 14:18:34 +0000

While on the subject of `dolist' versus `mapc',
I'd add that code with `dolist' looks more like
usual imperative programming constructs (e.g.,
it looks like C or Fortran), and `mapc' looks,
perhaps misleadingly, more like functional
programming mapping over streams.

IOW, IMO there's no great use case for `mapc'
on a list, but I suppose maybe someone might
find it clearer than `dolist' when used in a
context where there's already some other
mapping involved.




reply via email to

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