Those damn semicolons!

I ‘ve done this on more than one occasion.

In languages where you use semi colons to define the end of a statement, I’ve written blocks like this by accident:


if(condition);
{
dothis;
}

As you can see, because I placed a semi colon by at the end of the conditional, the code in the block will execute. Annoying as hell.

I’m working on a FlashPunk project at the moment. Action RPG. you can read the design doc on my wiki.

Advertisements

About imaginationac

I make things with computers.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s