A long parameter list can indicate that a new structure should be created to wrap the numerous parameters or that the class is doing too many things.
The following code snippet illustrates this rule with a maximum number of 10 parameters:
Class Sample.Foobar
{
Parameter A = "a";
Parameter B = "b";
Parameter C = "c";
Parameter D = "d";
Parameter E = "e";
Parameter F = "f";
Parameter G = "g";
Parameter H = "h";
Parameter I = "i";
Parameter J = "j";
Parameter K = "k";
}
Class Sample.Foobar
{
Parameter A = "a";
Parameter B = "b";
Parameter C = "c";
Parameter D = "d";
Parameter E = "e";
Parameter F = "f";
Parameter G = "g";
Parameter H = "h";
Parameter I = "i";
Parameter J = "j";
}