Skip to content
Prev 46481 / 63424 Next

legitimate use of :::

On 26/08/2013 11:20 AM, Benjamin Hofner wrote:
But as you've discovered, you don't need ::: access, you can use 
NextMethod.  You would need ::: access if the object wasn't a 
smooth.spline object, because then the generic and NextMethod wouldn't 
dispatch to the method.  If you were calling a smooth.spline method on 
something that is not a smooth.spline object, your code could break if 
something about the  smooth.spline class was changed, and the predict 
method for it was adjusted to compensate.
It might be better to write to the author of that comment.  You can find 
out who that is using "svn blame" (or as some of us prefer, "svn 
praise") on the file.
I think you want to give credit in a place where users will see it, not 
just in the source.  Our README solution isn't good for that, because 
most people will never know they have that file.

Duncan Murdoch