Positional-only parameters for Python
Positional-only parameters for Python
Posted Apr 10, 2019 20:52 UTC (Wed) by yootis (subscriber, #4762)Parent article: Positional-only parameters for Python
Why is it ever actually necessary to prevent the use of keyword arguments? The article mentions "what if the API changes", but to me that's all the more reason to use keyword arguments. At least you'd detect the problem. Forcing positional arguments sounds dangerous to me.
