emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using "pcase" as part of names is inhelpful.


From: Richard Stallman
Subject: Re: Using "pcase" as part of names is inhelpful.
Date: Sun, 10 Dec 2017 16:44:55 -0500

[[[ 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]