From: Richard Stallman <rms@gnu.org>
To: "John Wiegley" <johnw@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Using "pcase" as part of names is inhelpful.
Date: Sun, 10 Dec 2017 16:44:55 -0500 [thread overview]
Message-ID: <E1eO9P5-0001ep-ME@fencepost.gnu.org> (raw)
In-Reply-To: <m2efo3edhh.fsf@newartisans.com> (johnw@gnu.org)
[[[ 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. ]]]
> RS> We could use 'plet' and 'plambda'. Or 'pattern-let' and 'pattern-lambda'.
> I prefer the latter two, and agree that pcase-let is inaccurately named.
If they are unusual and obscure, 'pattern-...' are better.
If they are widely used and all Emacs Lisp programmers know about them,
'p...' are better.
> Racket uses the names "match-let" and "match-lambda",
Those names are reasonable, too -- but they would not be similar
to 'pcase'.
Should we rename 'pcase' to 'match-case'? In principle there is nothing
wrong with that. But if we expect all these names to become everyday
Lisp usage, we'd be better off with 'p'.
--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
Skype: No way! See https://stallman.org/skype.html.
next prev parent reply other threads:[~2017-12-10 21:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-09 22:00 Using "pcase" as part of names is inhelpful Richard Stallman
2017-12-09 22:35 ` John Wiegley
2017-12-09 23:01 ` Paul Eggert
2017-12-10 21:44 ` Richard Stallman [this message]
2017-12-10 1:07 ` Robert Weiner
2017-12-10 21:45 ` Richard Stallman
2017-12-11 14:31 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1eO9P5-0001ep-ME@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=johnw@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).