Comment by jesushax

3 years 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

> 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

  • The 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