I dont care if they're making my code look like shit they fucking work and that's all that matters

i dont care if they're making my code look like shit they fucking work and that's all that matters

Attached: break.png (1171x945, 173.11K)

??
ive never heard anyone complain about breaks

get off the drugs, user.
>ive never heard anyone complain about breaks
same.

Either OP is loosing it or his boss is the gigajeet that taught durgasoft in which case OP might as well get some fine indian jenkem to cope with this.

Real men dont use "break". They use "return".

in the times when when men were men, men used "goto"

user you confused breaks with continues. Using continue is a bad practice, not break.

it's probably the code around it that is complained about, like a hundred line loop block with nested blocks and a break deep inside somewhere in line 47.

in your example the break condition can be moved to the condition part of the loop

while(condition && !(condition for break))
for(init, condition && !(condition for break), update)

Real men use break and continue

how

>OP, a faggot
>loosing it
Of course he is. Did you think those dragon dildo threads were a joke?

>he doesn't use a GOTO

Bye emotes.

>Using continue is a bad practice,
elaborate

>Real men dont use "break". They use "return".
Yeah, that's often preferable but sometimes very awkward to make happen.
But the difference is especially drastic with switch statements in languages that have implicit fallthrough.

int i = 0;
loop:
if (i >= 100) goto end;
printf("i: %d\n", i);
i++;
goto loop;
end:


Rate my for loop

>codes
>s
sir do not redeem

while (cond) {
//code
if (cond1) {
//code to make cond true
continue;
}
//code
}

switch statements are the devil

based based based

goto, continue, break, setjmp, longjmp are always welcome. Anyone who opposes these magic utils is probably a hackernews faggot fell for dijkstra meme.

Hey fag/g/ots, post an example of your everyday attire, I want to see if you've got some style or instead confirm the stereotype

I've heard some bullshit that it is better to set flags.
Personally, I prefer implicit breaks and explicit continues.

large university t-shirt since I've gained weight and dont want to buy new clothes
jeans
tennis shoes
if it's cold, add a hoodie
everyday year round

my coding teacher actually did complain about it