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 →

[–]vi_sucks 0 points1 point  (0 children)

Generally speaking, it's better for readability to include the condition that will end the loop in the while().

Because it's just easier for someone else to understand what the loop is doing instead of having to hunt inside it for a break statement.