Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
fyi1183
· 8y ago · 0 comments
The way I remember it is that it makes sense in loops that search for something in an iterable. Such loops break when they're successful, and so it makes sense for the code in the else clause to run when the loop was unsuccessful.
Comments
No comments yet.
Better HN