From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Instead of pcase Date: Fri, 1 Dec 2023 14:48:22 +0200 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> <763f067b-4ca9-1eba-9f3c-424c38589e9c@gutov.dev> <83fs0navpj.fsf@gnu.org> <838r6ebfhw.fsf@gnu.org> <83msuu9m2y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22065"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: owinebar@gmail.com, rms@gnu.org, philipk@posteo.net, emacs-devel@gnu.org To: Eli Zaretskii , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 01 13:49:43 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 1r92xf-0005Oe-R9 for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Dec 2023 13:49:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r92wj-0002US-O0; Fri, 01 Dec 2023 07:48:41 -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 1r92wf-0002ST-6a for emacs-devel@gnu.org; Fri, 01 Dec 2023 07:48:37 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r92wc-0006cY-LV; Fri, 01 Dec 2023 07:48:36 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BB0E15C00CC; Fri, 1 Dec 2023 07:48:32 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 01 Dec 2023 07:48:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1701434912; x=1701521312; bh=1u+B5QTWwIcB4sdpjLoRlMVufY+4SPTBgxu RF1/JxcQ=; b=sDqJCF1DhzzQsp26POxv9IcrVu9fXgrQp0azqdqAJ3OpewNqmEc hOQHZE8Ty/CefEHDdKLdzniKR6JQroLF1WXywwFjz0uQObHGHam9pgtbyPM3at3e S6vd9iiEaHDNrI10qW1mfJneTQQrcyvYTSgGmh+6kGJSayOIKGn54vbpNRQFns1+ nmOXjwPMEhQVNgMjhgdulFskghWHMCVGKsibY1T0rCr2TBUOzZMcpm9XtH4abeoO 7mGBtSKyzNE7tJPWhGlop/+Q3c78iNudwD/PbDIHqh7SIKTBzRCNkVd72Di8788U KJu96vme440CCZ82OlSEq2sirHRH6bhDiYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1701434912; x=1701521312; bh=1u+B5QTWwIcB4sdpjLoRlMVufY+4SPTBgxu RF1/JxcQ=; b=En18kfWdFJiGukECMMQy5lE0JTk0kUDalv+SKAMjYPI6RTUHbIZ iJjDLV1NtTX6wLmHvJvmAKsoBEDVC4AkIX4516y4E02Z9PktvSewRQm4xxNQyjFs M75qDHQ/0lvIaOP7bAUE3z717xa4ibfkSgrewnylDSaNzis3AO+Z0IXNuaSqbFJ6 7JNZIyT3e7t13UcvNC7PB7SzcWI6JmDUkJ7wLXKPteNy7WsJ8dcaHMSmyJqQT1je 0n4VI1MnYdO28QtCUZM/swZenoZ4amkLvRPzO64xEbQ+0I+oSe0gmXgEXgOnwAZt F6DRIGcyXyfZV/emnGqJcumJJ4ArlU+fnyQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeiledggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 1 Dec 2023 07:48:30 -0500 (EST) Content-Language: en-US In-Reply-To: <83msuu9m2y.fsf@gnu.org> Received-SPF: pass client-ip=66.111.4.26; envelope-from=dmitry@gutov.dev; helo=out2-smtp.messagingengine.com X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-1.534, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:313438 Archived-At: On 01/12/2023 13:52, Eli Zaretskii wrote: > If this is that easy, then why do we need no less than 120 lines to > describe pcase in the doc string, and no less than 600 lines to > document its features in the ELisp manual? Most of those describe the extensions, or additional features, which are not essential to understanding the basics, to understand the examples which we were looking at in this thread. > All I'm trying to say is that > there_are_ inherent problems in the DSL whose knowledge is required > to understand code written using pcase, and that you and others should > recognize these inherent problems are real, even though you have > overcome them, and anyone could overcome them given enough time and > experience. Most of us can agree that these DLS have associated costs. Whether they are "problems" (to be fixed?), meaning the costs outweigh the benefits, seems to be the main theme of this thread.