A lot of named arguments vs. **kwargs

1k views Asked by At

I know this question has been asked a few times in a few different ways, but none of them really address what my question is. I have a function that takes a hefty amount of arguments and it is not doing too much. It simply takes arguments that will be passed in from a device, then plots them on a table in reportlabs. So my question is: Is it better to have all 10 variables passed in as named arguments or would it be better to use **kwargs. I will always know the type of data being passed in.

0

There are 0 answers