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

goto is good

Name: Anonymous 2012-06-11 22:02

if you think otherwise you're a trendfag. goto is far more efficient than function calls for short blocks of code (lol compiler ignoring inline) and have a lot of neat applications.

Name: Anonymous 2012-06-12 8:12

>>22
What's wrong with the if statement?
int foo()
{
        /* Allocate memory */
        if (/* correct */)
            return 0;
        else //assume an error occurred
        {
            fprintf(stderr, "Error occurred!\n");
            return -1;
        }
}

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