3 ms·
> You have lots of options for strings and string formatting. “Strings and string formatting” is a very broad domain. For most specific tasks, there is one lo
by dragonwriter 5y ago
> You have lots of options for strings and string formatting.
“Strings and string formatting” is a very broad domain.
For most specific tasks, there is one low-impedance approach and it takes very little (but not zero) reflection and/or experience to find it.
Most new Python features directly address specific tasks for which there are currently multiple relatively high-impedance approaches taken because there is not one obviously correct way.
Python's “one obviously correct way” is not “one possible way” (the latter approach is closer to Go.)