Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How many parameters are too many parameters?
#3
(10-19-2023, 11:27 AM)SpriggsySpriggs Wrote: In my opinion, ditch the crazy amount of parameters and instead do a UDT that contains the information and pass that. Like how Windows API does a lot of their calls.

+1 That is one fine way to do it.

Too many? It gets crazy with modes by number who wants to remember a bunch of codes for one routine?
But I can understand the desire to be as flexible as possible, who wants to write mostly redundant code? like a sort routine for every data type and still can't do UDTs.
b = b + ...
Reply


Messages In This Thread
RE: How many parameters are too many parameters? - by bplus - 10-19-2023, 01:58 PM



Users browsing this thread: 2 Guest(s)