emacs-devel
[Top][All Lists]
Advanced

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

Re: Instead of pcase


From: Philip Kaludercic
Subject: Re: Instead of pcase
Date: Thu, 16 Nov 2023 18:16:09 +0000

Michael Heerdegen <michael_heerdegen@web.de> writes:

> "T.V Raman" <raman@google.com> writes:
>
>> I recently tried to understand some of the completion code; --
>> specifically, completion-at-point, and immediately hit the pcase wall
>> and gave up --- my lack of understanding of pcase made that code in
>> Emacs Core read like line-noise.
>
> But that pcase form is only performing trivial destructuring.  Only
> that, nothing more.  If you can read backquote expressions, you can read
> that with exactly the same ease.

Right, and if one wouldn't use it to destruct values, you'd end up with
a lot more boiler-plate code that would be harder to maintain and more
to read.  If one has to talk about difficult to understand/remember
domain specific languages, then `font-lock-defaults' would be a much
more pressing candidate.

> Michael.



reply via email to

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