5 ms·
This debate could be summed up as: There's more than one way to do it *vs* there should be one, and preferably only one, obvious way to do it
by jesushax 4y ago
This debate could be summed up as:
There's more than one way to do it *vs* there should be one, and preferably only one, obvious way to do it
- DangitBobby 4y ago> there should be one, and preferably only one, obvious way to do it Loops, list/dict comprehensions, if statements, and ternary expressions would all like a word
- jesushax 4y agoThe same debate applies to all of those things, so this is just another instance of Python battling with a philosophical principle underlying the language, which naturally arises anytime a redundant (but good) feature like this is added to the language