From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: The poor state of documentation of pcase like things. Date: Sun, 03 Jan 2016 10:03:46 +0100 Message-ID: <8737ufkpal.fsf@fencepost.gnu.org> References: <20151216202605.GA3752@acm.fritz.box> <87io3m60bq.fsf@web.de> <877fk1nnk0.fsf@web.de> <8760zlue3j.fsf@gmail.com> <87vb7kajgv.fsf@web.de> <83y4c9ag06.fsf@gnu.org> <87bn95m9eg.fsf@fencepost.gnu.org> <5686CDFB.2010105@dancol.org> <83fuygcs5g.fsf@gnu.org> <87r3i0l6oq.fsf@fencepost.gnu.org> <87si2fwm38.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451816322 4459 80.91.229.3 (3 Jan 2016 10:18:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 10:18:42 +0000 (UTC) Cc: Eli Zaretskii , Daniel Colascione , emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 03 11:18:41 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFfkE-0006qE-LW for ged-emacs-devel@m.gmane.org; Sun, 03 Jan 2016 11:18:38 +0100 Original-Received: from localhost ([::1]:41166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFfkD-0006im-Nl for ged-emacs-devel@m.gmane.org; Sun, 03 Jan 2016 05:18:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFfjj-0006I7-N0 for emacs-devel@gnu.org; Sun, 03 Jan 2016 05:18:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFfji-0000NF-Rw for emacs-devel@gnu.org; Sun, 03 Jan 2016 05:18:07 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFfjc-0000LQ-4z; Sun, 03 Jan 2016 05:18:00 -0500 Original-Received: from localhost ([127.0.0.1]:34425 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1aFfjY-0003Vt-B1; Sun, 03 Jan 2016 05:17:56 -0500 Original-Received: by lola (Postfix, from userid 1000) id 9DCBFDF8BF; Sun, 3 Jan 2016 10:03:46 +0100 (CET) In-Reply-To: <87si2fwm38.fsf@web.de> (Michael Heerdegen's message of "Sun, 03 Jan 2016 01:19:55 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:197431 Archived-At: Michael Heerdegen writes: > David Kastrup writes: > >> Some of the quoted pcase examples indeed felt like the "if your >> preferred tool is a hammer, every problem looks like a nail" >> phenomenon. > > Ironically, the same applies to Emacs itself ;-) > >> There certainly is a case for liberal use of complex complexity-taming >> constructs (for example, overall I can appreciate how cl-loop >> straightens out a lot of awkward loop constructs even though its syntax >> is not really Elisp-like). But when a simple construct is a perfect >> fit, it's not helping understanding. > > I don't see how a pcase used like a cl-case - as in the quoted example - > is any harder to read or understand. Quasiquotes are quasiquotes. They are harder to read for the Lisp reader, and they are harder to read for the human reader. -- David Kastrup