[Top][All Lists]

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

Re: Regexp bytecode disassembler

From: Dmitry Gutov
Subject: Re: Regexp bytecode disassembler
Date: Sun, 22 Mar 2020 20:36:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 22.03.2020 19:30, Eli Zaretskii wrote:
How can we, who master this already, know what is or isn't
understandable for people who don't?  I don't think we can.  You
cannot "unlearn" something, at least not easily.  The only practical
strategy is not to use devices that are overkill.

Most high-level languages have a "case" construct which compares a single value with a list of options, even C does (switch ... case). So a lot of developers are used to this idea. And even expect it.

And in Emacs Lisp, the closest built-in construct we have is pcase. Although cl-case is also an option.

reply via email to

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