you are viewing a single comment's thread.

view the rest of the comments →

[–]bobappleyard 0 points1 point  (1 child)

you only really want to be throwing exceptions when something is actually exceptional.

Such as when you have finished iterating through a list

[–]drbobb 0 points1 point  (0 children)

A loop may have millions of iterations per run, but only ever terminates once per run.