emacs-devel
[Top][All Lists]
Advanced

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

Re: CL package serious deficiencies


From: Stefan Monnier
Subject: Re: CL package serious deficiencies
Date: Sun, 12 Feb 2012 11:55:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

> Those keyword arguments are not useless. Some of them are rarely needed
> and that's why it's good that they are &key and not &optional.

> I think
>     (replace-match "foo" :subexp 2)
> is much more readable than
>     (replace-match "foo" nil nil nil 2)

I'm not opposed to keyword args at all (I introduced them in several
macros, as a matter of fact).  I'm opposed to args that are almost
never used and where the same result can be obtained fairly easily some
other way.


        Stefan



reply via email to

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