4 ms·
As an aside, this: > the Python philosophy around one-true-way to do things I've always thought to be a total joke. There's been like 5 different modules eac
by colanderman 11y ago
As an aside, this:
> the Python philosophy around one-true-way to do things
I've always thought to be a total joke. There's been like 5 different modules each for string interpolation, subprocess management, and argument parsing. Heck, I thought I was on top of which was in vogue and apparently just two weeks ago there's a new "one true way" to do string interpolation.
- chishaku 11y agoI came across this recently: > Barry Warsaw, one of the core Python developers, once said that it frustrated him that "The Zen of Python" (PEP 20) is used as a style guide for Python code, since it was originally written as a poem about Python's internal design. [0] I did a quick search for a little more background but didn't find anything. I'd be curious to hear more. [0]: https://github.com/amontalenti/elements-of-python-style#a-little-zen-for-your-code-style https://github.com/amontalenti/elements-of-python-style#a-li...
- such_a_casual 11y agoI think this needs to be the responsibility of things like PEP rather than the actual language. Otherwise you break old code every time you find a better way.
- marcosdumay 11y agoI always thought that was mocking with Perl, and nothing else.
- colanderman 11y agoThen my analysis that it is a total joke is correct ;)
- marcosdumay 11y agoLooks like so. Almost all the lines on the Zen of Python are inversion of the Perl guidelines. Some with the exact same phrasing, just with the antonyms of the original.