Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

using goto and do-while loops to annoy prof

Name: Anonymous 2012-03-10 23:32

Does anyone else do this?

Name: Anonymous 2012-03-12 3:11

>>34
Switches are typically much more efficient than several if tests since they're far easier to optimize.

Besides if you use goto for retarded shit like jumping out of loops you'll suddenly have a really hard time parallelizing your code, which is just one of the many reasons it's typically banned at large companies where performance and maintainability matters.

I guess it's fine if you write shitty little toy projects where you think it's cool to use goto or something childish like that, but the cost seriously outweigh the benefits if you encounter real world problems, there are only a very few specific corner cases where it's acceptable.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List