With that in mind, passing a large number of parameters to a function could be an indication of a design flaw. Most functions should fall into one of two categories:

1) They have extremely limited functionality, and thus need few parameters.
2) They have only high-level functionality, and thus can have their parameters be objects (structs and classes) which they view opaquely, rather than primitives which they need to do something with.