Not really related, but with plugin-like functions (in Pike code) it is very convenient to not have to take care of all arguments the framework calls the function with. And you can extend the framework to give more arguments without too great compatibility concerns.
/ Martin Nilsson (saturator)
Previous text:
2004-02-28 22:08: Subject: Re: Problem with function prototypes
Well, the point would be to improve the error checking in the vast majority of cases where the check for too many arguments is neglected.
(I never realised why too many options is a bad thing. /.../
It's bad because it can mask programming mistakes. In that case, the question rather becomes: What good is it? I can only think of cases with some sort of generalized function call dispatch, but that gets very contrived.
/ Martin Stjernholm, Roxen IS