Re:Use keyword-only arguments in Python dataclasses
by bonoboTP on Monday June 30, 2025 @07:45AM
(#44422088)
If you remove them, the caller would anyway need to be updated, whether it's keyword-only or not. A removed keyword argument is still not usable, caller must be updated.
And why would you reorder the args? Just to give churn work to your API consumers so the developers burn out faster? Why is this industry doing this to itself?
And why would you reorder the args? Just to give churn work to your API consumers so the developers burn out faster? Why is this industry doing this to itself?