|
|
|
|
|
by ptx
1640 days ago
|
|
You could read it as "either process all of these elements, or otherwise do this other thing". If we break, we're not processing all of the elements (the normal case), so we do the "else" part instead. Edit: This is wrong. See replies. |
|
However, that's exactly how it doesn't work and that's my point. The else clause is only ran if the loop DOESN'T break.