by tikue_ · 9y ago · 0 comments
I'd probably be in favor of a hard cap on # of function arguments. :)
(There's also another another option, which is to have a different function for each combination of parameters. This obviously doesn't scale in the large, but it's perfectly acceptable for functions that take only a single optional parameter, which IME is a plurality of APIs that want optional parameters).