Comment on Real quick question about the "break"

<- View Parent
yoevli@lemmy.world ⁨11⁩ ⁨months⁩ ago

continue is useful as a loop analog to early return in a function context, which helps keep indentation/nested conditionals under control and in turn improves code readability.

source
Sort:hotnewtop