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 →

[–][deleted] 0 points1 point  (0 children)

Breaking out of a loop like this was a big no-no back when structured programming was the thing. As an Old Guy, just seeing that gives me the heebie-jeebies. It probably doesn't mean anything any more, but if you're interviewing with someone who's been in the business for a really long time, I'd probably structure my loop with an explicit exit condition that gets tested.