emacs-devel
[Top][All Lists]
Advanced

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

Re: Instead of pcase


From: Manuel Giraud
Subject: Re: Instead of pcase
Date: Fri, 01 Dec 2023 09:03:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

[...]

> For example, constructs such as the many with-SOMETHING macros we have
> in Emacs are also higher-level than the actual code they expand into,
> but code using these macros is very easy to understand because the
> syntax is normative and the names of the macros are descriptive enough
> to be mnemonically helpful.

Yes but the with-SOMETHING macros also exist in Common Lisp and are also
easy to understand.  Most of the time, it reads as « execute this body
with this resource taken/opened/locked and eventually do some
house-keeping said resource ».  A pattern matching construct will, of
course, be more complex.
-- 
Manuel Giraud



reply via email to

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