3 ms·
The good old wisdom of OO design, single concern, etc. principles usually means that a function that "takes a lot of parameters" is symptom of at least one of t
by mytailorisrich 7y ago
The good old wisdom of OO design, single concern, etc. principles usually means that a function that "takes a lot of parameters" is symptom of at least one of these principles being violated.
A struct to collect random parameters, as suggested by other posts, is just brushing this under the carpet.