3 ms·
I'm also in the camp that believes that functions or methods that take more than 2-3 (positional) arguments should really take a structure with named keys to av
by sneak 4y ago
I'm also in the camp that believes that functions or methods that take more than 2-3 (positional) arguments should really take a structure with named keys to avoid this. Humans are bad at lists.
Seeing functions with 5-6 positional arguments makes my skin crawl even if they have strong types.
- deleted 4y ago[deleted]
- disgruntledphd2 4y agoTry to avoid looking at any scientific/data science code then. Almost every function has 6+ arguments.