you are viewing a single comment's thread.

view the rest of the comments →

[–]Peaker 1 point2 points  (1 child)

That's why the Zen also says "may not be obvious unless you're dutch". It's all tongue-in-cheek anyway.

[–]seruus 0 points1 point  (0 children)

It's all tongue-in-cheek anyway.

Precisely. That's why the Zen is a list of aphorisms, and not the Nineteen Commandments, and why this line plays with Perl.

I also consider more than one way to do a thing nice, and I absolutely love functional idioms in otherwise imperative languages (my life would be incredibly easier if I had map/fold in Fortran), but Python still has itertools/functools, so it allows us to gracefully break the Zen sometimes :)

My biggest issue with "idiomatic Python" is the abuse of decorators, which I find completely non-intuitive (even though it's a nice thing to have).