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:


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.


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: Logo

You are commenting using your 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