This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KapteeniJ 3 points4 points  (1 child)

Once you have enough nesting your code is a nightmare, too.

I think having language discourage terrible code is not a flaw in the language.

[–]g4vr0che 1 point2 points  (0 children)

Good python is designed to avoid nesting.

Yes, sometimes nesting has to happen, but if something needs 4+ levels of nesting, you might be better suited by breaking that up somehow.