What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
Kongregate is a community-driven browser games portal with an open platform for all web games.
Get your games in front of thousands of users while monetizing through ads and virtual goods.
Learn more »
You would be surprised at all the trouble and frustration a novice coder would have trying to find out which } goes with what when problems like this arise. Even with proper indenting which I reccomend, you might have an extra or missing }.
That said you dont have to put comments on ALL of the } but if you have lots of if statements or switch cases or while loops in a function, having }//these comments, can save your sanity
> *Originally posted by **[BobJanova](/forums/4/topics/336036?page=2#posts-7034867):***
> Yeah but if you’re having brace confusion it’s a good sign you should split that procedure up into several smaller ones.
I could not agree more.
Okay now this just opens up the door as to how big and confusing a function can be even if it is broken down to its possible smallest form.
Everyone goes through brace confusion. I still go through it. Anyone starting out will do it.
placing a comment after } along WITH proper indentation, can help with this problem.