3 ms·
Like I said, the usual use of the 'Pythonic' idiom within the Python community is prefixed by "un" and used pejoratively. One aspect of the perniciousness of 'P
by brudgers 9y ago
Like I said, the usual use of the 'Pythonic' idiom within the Python community is prefixed by "un" and used pejoratively. One aspect of the perniciousness of 'Pythonic' is that it promotes the tribalist ideal of specializing in languages. For someone optimizing for readable libraries, Smalltalk is probably a better option.
- empthought 9y agoYour comments are making me bristle a little bit, but to be honest the book being referenced by the blog post makes me bristle more. "You may use the “harmful” examples as templates to search for in your own code. When you find code like that, replace it with the idiomatic version." This is a really dumb idea, especially when paired with the incorrect implementations that the book author encourages and the blog poster critiques. Incorrect code is never idiomatic, full stop.
- brudgers 9y agoIncorrect code is incorrect code. Correct code is useful in and of itself. Idiomatic code isn't.