Stop Break’ing Your Code
To break or not to break? Is that the question?
TL;DR
Stop using break statements in your loops, opt instead for “termination” variables. These are variables that should be a part of the termination condition of a loop making it…