Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximum number of parameters in a method of a class
Message
From
22/10/2015 01:00:14
 
 
To
21/10/2015 22:18:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01626276
Message ID:
01626306
Views:
63
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform