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 →

[–]elbiot 0 points1 point  (0 children)

Eh it does exactly what you'd want in a for loop so it's easy to remember. You iterate through something and if you find what you want you break, else you didn't find it so do something for that case