4 ms·
> The main argument was that named arguments will cause your code to break when the arguments are renamed. Here's the counter point : ordered argument list wil
by habibur 5y ago
> The main argument was that named arguments will cause your code to break when the arguments are renamed.
Here's the counter point : ordered argument list will break if the order is re arranged in the defined function. While for named arguments it doesn't.
- Sebb767 5y ago> Here's the counter point : ordered argument list will break if the order is re arranged in the defined function. While for named arguments it doesn't. Counter-counterpoint: Once you add support for named arguments, your cannot do either, as you don't know which convention the caller uses.
- ledauphin 5y agoin Python you can (and should) define your keyword arguments as keyword-only, for that very reason.