Re:Python 3.12
by paiute on Monday October 02, 2023 @02:36PM
(#37742502)
I think people kind of miss the idea of kwargs in python, the idea is that they are a dict. You can cast a dict to kwargs, in contrast to positional args.
I see the typedict being super useful. I really don’t see your argument and would say that this typed dict is more developer friendly than having positional arguments.
https://docs.python.org/3/tutorial/controlflow.html#more-on-...
[ Parent
| on HN ]
There are no comments on this comment yet.