From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Instead of pcase Date: Fri, 01 Dec 2023 18:07:19 +0200 Message-ID: <83a5qtaoug.fsf@gnu.org> References: <87fs169mjj.fsf@posteo.net> <093f11a1-57c2-5e56-d39b-26fef1c67cbb@gutov.dev> <25942.25061.217864.329049@retriever.mtv.corp.google.com> <87zfzdcz6z.fsf@posteo.net> <763f067b-4ca9-1eba-9f3c-424c38589e9c@gutov.dev> <83fs0navpj.fsf@gnu.org> <87il5jgf1z.fsf@web.de> <83a5qubfud.fsf@gnu.org> <87plzp53h4.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39113"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 01 17:07:57 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r963Z-0009yu-Ri for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Dec 2023 17:07:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9633-0006oU-ML; Fri, 01 Dec 2023 11:07:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9632-0006oI-B2 for emacs-devel@gnu.org; Fri, 01 Dec 2023 11:07:24 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9632-0002pI-1t; Fri, 01 Dec 2023 11:07:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dnoptsL98DSUvQgN9jArbPoAkAtJPOiTQkVwr89k60E=; b=VtqRgROfH1fd LuVM878PJx7ajx85G1D/Jk8yIKCpXVnDTkJQOKDml4XYqBmxB7ElSD0ahecCBxDTVRY+ssd3c2tER 7hCgyXTBd7zv0v678uqxfCJKuT7PBq5W64nD8HHMQloySrqh7ChzwIdtifnmuF8/EpNsgIaoC+5sm ktKKwgtsBQWyYbvXdTmGtAM89FTlY4EyMEZYyRzKf/vPbANKLL34o+u6xTQ6jpa+zfj28G2ANKKXX WIU4VgVqkwBobQs0NkJPsMhVL+fo3qbHayfg4bAyWotHkTtuYSHq7V7Zc/ZyEHyM8enhM775b07uD E39YWM2DQmW9/sCE9aZZsg==; In-Reply-To: <87plzp53h4.fsf@web.de> (emacs-devel@gnu.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313444 Archived-At: > Date: Fri, 01 Dec 2023 16:47:51 +0100 > From: Michael Heerdegen via "Emacs development discussions." > > > My point focuses on the problems this syntax causes to someone who > > doesn't have intimate knowledge and a lot of practice with pcase. > > It is repeatedly used a wording like "magical", as if that was an > argument. Ok, this syntax makes one first wonder how it has to be > interpreted. Happened to me, too. But this (the wondering) takes only > seconds. What happens after that? Have people then seriously tried to > understand the syntax? Where and why did they fail? I heard nothing > about that. Just a repetition that it looks "strange" or "magical" or > that one would expect a different syntax. You are asking me about what others have done. I don't know. I do know that having understood this once doesn't mean one will remember that the next time. If the meaning is complicated enough, and the next time is far enough from the previous one, one could simply forget, and then will have to make the same effort understanding that again. > Given that cons cells and lists are fundamental building blocks of the > whole language, I had hoped to hear more about why understanding this > would be hard. Nobody did that concretely apart from Richard. And it > might be the case that his rewrite will reuse the backquote syntax. We shall see. > > If one bumps into such constructs very frequently, then eventually one > > will become familiarized with them. But if the frequency is low > > enough, one could easily forget the details, and then one will need to > > consult the documentation again the next time. > > What I want to say is that if you need to consult documentation of > backquote syntax in pcase again and again, you might not have understood > it entirely. This is my question: do people fail to understand the > concept, or don't they even try? I'll let others answer this. Me, I just want to tell that complicated stuff frequently needs to be re-read several times before it sinks. Especially if these time instances are far apart.