Jul 13, 2021
As long as those parameters are related to each other enough to belong in the same object. Otherwise you end up with a meaningless catch all parameter like args or something. Meaningless parameters make it difficult to determine the purpose of a function by it's signature.