DEV Community

Discussion on: Readability with break statements

Collapse
 
rhymes profile image
rhymes

Agreed. In this case avoiding "break" makes for less readable code.

I think the author of the SO answer is mostly saying to make them explicit, like you cloud do with "defensive" returns in a function.
return