3 ms·
Once you get past some threshold of number of params, switch it to a single param of a type that can be constructed using the builder pattern.
by TheDudeMan 5y ago
Once you get past some threshold of number of params, switch it to a single param of a type that can be constructed using the builder pattern.
- karagenit 5y agoAgreed, it would be nice if our linter supported a rule for this sort of thing (maybe something like this exists already)? Right now it's just a judgement call and people make mistakes :)