Re: max no of parameters a function can take?
From: Victor Bazarov (v.Abazarov_at_comAcast.net)
Date: Fri, 10 Sep 2004 12:08:05 -0400
Mike Wahler wrote:
> "Victor Bazarov" <v.Abazarov@comAcast.net> wrote in message
>>>what is the maximum no. of arguments a function can take?
>>The Standard requires at least 256.
> To "Master":
> But if you find you need more than a maximum of perhaps
> ten arguments (my personal threshold is more like six
> or seven), imo you should consider refactoring your code
> to use more functions with 'smaller' signatures. Keep
> It Readable.
If the OP is working on some kind of automated source code
generator, the resulting code doesn't have to be readable by
anything (or anybody) except a compiler.