4 ms·
I agree. Back in the day when I used Ruby, I remember one of the arguments for Python being their belief that there should be one way to do things. Found one re
by choward 7y ago
I agree. Back in the day when I used Ruby, I remember one of the arguments for Python being their belief that there should be one way to do things. Found one reference:
> There should be one-- and preferably only one --obvious way to do it.
https://www.python.org/dev/peps/pep-0020/ https://www.python.org/dev/peps/pep-0020/
- orf 7y agoThere should be one _obvious_ way to do things. Not _one_ way to do things. The operator is better than the dict unpacking-repacking trick, and will become the obvious way to do it.