6 ms·
quote: Positional arguments require mentally lining up the 7th argument in your function call with the 7th argument in the function signature, and so on. If yo
by rawsyntax 15y ago
quote:
Positional arguments require mentally lining up the 7th argument in your function call with the 7th argument in the function signature, and so on.
If your function has 7 arguments, consider refactoring
- masklinn 15y agoIf your refactoring is to make a 7-args function into a builder object (because what you're building actually needs those arguments), you're better off with keyword arguments.