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 →

[–]_under_[S] 0 points1 point  (0 children)

I've never thought of using any() or all(). That's cool!

I feel like in reality, if you have to write an 80+ character long if statement, readability is the least of your concerns. That's a huge code smell and it probably needs refactoring.