From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Instead of pcase Date: Wed, 29 Nov 2023 22:37:50 -0500 Message-ID: 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> <87zfza2aq2.fsf@web.de> <7nmsv9zq6u.fsf@ecube.ecubist.org> <7nv89x5tsi.fsf@ecube.ecubist.org> <87o7focuf5.fsf@web.de> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14730"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 30 04:38:45 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 1r8Xsz-0003bi-5c for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Nov 2023 04:38:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8Xs9-00077M-FG; Wed, 29 Nov 2023 22:37:53 -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 1r8Xs7-00076C-7b for emacs-devel@gnu.org; Wed, 29 Nov 2023 22:37:51 -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 1r8Xs6-0004aB-Sc; Wed, 29 Nov 2023 22:37:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=Ix1XsT7ZjC4XseAcarnXflTI6GA7c9JlU8aD7nyRfy8=; b=fymxc7xiGlcR ENTbS72JfQqo3iAQ6fC4CYFyciM5g+IsoJrMycaqmhIVXeCwY16cqApFGNfZZJiFtNSd8sfotX30Y KWIdKhv/8Sy1Xb8Tn2tNPczLyqDJ5oBY9Y/37KVMSPZxP86roaavYXB5zkcAUmcKNUeyxdnQEbnl4 cs+qaKfRkv7M5r4RttS7gFHmp13WvSmV9QjOPOOv45Gy6K16fCXOMxyGlE8Kic3jH7WSRxR63xT5w sbamPgU9qQefPbUkbTC0n1TdG2oqyoeJmefmS1e8vMo1gZPE9yP/ZbmJscSD8H38a2G9q/z0xKDt3 yyIDOGrd9VGdp/Uvcn4YUw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1r8Xs6-0008KE-BC; Wed, 29 Nov 2023 22:37:50 -0500 In-Reply-To: (message from Dmitry Gutov on Tue, 28 Nov 2023 14:39:28 +0200) 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:313375 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I guess that's the point I wanted to underscore: that those pcase uses > are more-or-less optimal in terms of complexity (for its ultimate > goals), that in most cases it comes from the problem domain rather than > from the solution. I think the way you measure "complexity" is different from the way I measure it. I suspect that your measure does not count the complexity of learning `pcase' -- that it assumes the reader knows that already. That complexitu is what I am trying to eliminate. I also think that you measure "complexity" as the opposite of terseness, so that a couple of uses of `match-set' is in your view "added complexity". However, terseness is what makes `pcase' more complex. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)