Coding, Not-so-funny

What’s wrong with this code?

I love reading code like this:

int IAmGoingToReturnAnInt ( int* gimmeSomeData )
{
    int munchMunch = *gimmeSomeData;
    ++munchMunch;
    // Developer note:  FU
}

Okay, the last developer note doesn’t really exist, but you would think that this function would return an integer.

I mean, come on! Give me something!

2 thoughts on “What’s wrong with this code?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.