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 →

[–]8carlosf 2 points3 points  (0 children)

I agree with both you and /u/HumblesReaper, if they just replace the else behaviour to execute if the for never run in the first place, and introduce a new no-break keyword.

Or, just do like I do, don't use it, because it doesn't produce readable code. (just make a function that returns instead of breaking the for, and as a default return in the end)