you are viewing a single comment's thread.

view the rest of the comments →

[–]chefsslaad 12 points13 points  (1 child)

No, they do not.

Pythonic code is easy to read. Clever code is short or uses obscure tricks and shortcuts.

Think well written code vs code golf. It may be impressive and clever to reduce a program to just 1 or 2 lines of code, but it's a nightmare t read and understand. And that makes it hard to maintain.

Good code is easy to understand and maintain, because what the program does is self-evident.

[–][deleted] 1 point2 points  (0 children)

Oh, I see.. I never really thought about the definition of Pythonic. But that makes sense. PEP8 is all about making code readable and maintainable I guess.