Skip to content
Prev 6810 / 63424 Next

Should dots be used in generic functions?

Paul Gilbert wrote:
Subject to discussion .... Either seems plausible.  What currently
happens is that setMethod constructs a method that contains the
programmer's supplied definition as a local function and calls it
(needed so that argument re-matching can take place).

An advantage of the method not having ... is that errors in naming
arguments are more likely to be caught.

John