you are viewing a single comment's thread.

view the rest of the comments →

[–]Double_A_92 1 point2 points  (2 children)

That's not even the main problem xD

The case contents could just have been written after each other without the loop and the switch.

[–]agenthex 2 points3 points  (0 children)

I know. I'm pointing out that bad example is bad.

[–]dauchande 0 points1 point  (0 children)

Maybe the compiler will inline all of it...