3 ms·
I think this is a change longer in the making than that. Back when I started working with Python in the mid--late 2000s, the Zen was holy and it seemed very unl
by kqr 2y ago
I think this is a change longer in the making than that. Back when I started working with Python in the mid--late 2000s, the Zen was holy and it seemed very unlikely to ever see multiple ways to do "one thing".
The Python community has since matured and realised that what they previously thought of as "one thing" were actually multiple different things with small nuances and it makes sense to support several of them for different use cases.
- riffraff 2y agoYou may be right. I checked and found the introduction of the ternary expression, which I found to be wildly "unpythonic", was back in 2006. Time flies.
- guappa 2y agoOne way to do the things. That's why there's 5000 ways to install a module.
- raverbashing 2y agoAnd 4900 "wrong ways" that will hurt you one way or another
- peterfirefly 2y agoMore like 5001.