|
Re: Demistifying the Dashboard
Quote:
Originally Posted by Ben_R_R
Thank you, this is very helpful!
Do the curly braces actually do anything, or are they just there for clarity?
|
Mostly clarity/indentation. However, they do something as well. They create a new scope/namespace. This is how they can declare "int module" twice in the same method. An easy enough problem to solve of course.
__________________
Team 694 mentor 2010-present, FIRST Volunteer and Co-organizer of FIRST World Maker Faire Tent
2012 NYC Woodie Flowers Finalist
2015 NYC Volunteer of the Year
|