From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: coccinelle patch suggestion Date: Wed, 27 Jun 2012 17:45:53 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1340833566 31822 80.91.229.3 (27 Jun 2012 21:46:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2012 21:46:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 27 23:46:06 2012 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 1Sk03k-0000GR-K5 for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 23:46:00 +0200 Original-Received: from localhost ([::1]:54858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sk03k-0008FS-Lo for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 17:46:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sk03g-0008FC-Tx for emacs-devel@gnu.org; Wed, 27 Jun 2012 17:45:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sk03f-0008Mh-Ac for emacs-devel@gnu.org; Wed, 27 Jun 2012 17:45:56 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:47988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sk03f-0008MJ-7R for emacs-devel@gnu.org; Wed, 27 Jun 2012 17:45:55 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Sk03d-0006sj-QC; Wed, 27 Jun 2012 17:45:53 -0400 In-Reply-To: (Stefan Monnier's message of "Wed, 27 Jun 2012 17:24:15 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 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:151242 Archived-At: Stefan Monnier writes: >> And EXFUN just adds an unneeded level of obfuscation that doesn't help >> code readability. > > I'm not sure the "plain" form is better, because of its length > (especially if there are 3 args or more). The only thing that matter is that the number of arguments matters between the declaration an the function. Why would anybody count the number of arguments? There's no way to make mistakes in calling with the wrong number of arguments, the compiler won't let you.... Adding strange constructs like EXFUN has not value...