>I've seen worse. I once inherited an application with a class that had 140 parameters to the constructor. Each parameter matched up with a column in the table. I refactored it all out and simply passed a DataRow. So much easier.
>
>
>>I agree... whoever developed that should be shot...
I think in some cases, the problem is that a person doesn't stop to think, "hey, could this be done in a different way?". Some people aren't even aware that you can pass a collection.
(And in partial fairness, sometimes the technologies in the past didn't support it, but certainly no excuse these days)