emacs-devel
[Top][All Lists]
Advanced

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

Re: coccinelle patch suggestion


From: Dmitry Antipov
Subject: Re: coccinelle patch suggestion
Date: Thu, 28 Jun 2012 16:39:09 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

On 06/28/2012 04:06 AM, John Wiegley wrote:

Andreas Schwab <address@hidden> writes:

And EXFUN just adds an unneeded level of obfuscation that doesn't help code
readability.

It tells you that it's a Lisp function with N arguments.  That's easier to
read than when you need to count them.

Also, it forms a meaningful parallel with DEFUN.  When I read an EXFUN
declaration, I know that there's a matching DEFUN.  This is not true of
everything other function that has a prototype.

+10. Of course, it would be a toy task for coccinelle. But, IMHO,
EXFUN makes the things clearer rather than obfuscating them.

Dmitry





reply via email to

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