A very important concept in programming is what we call variable scope. Though this concept should have been explained when I explained variables, it wouldn’t have made much sense back then, because it was relying on stuff we did not yet explain.… Read more
Posts Tagged ‘variable scope’
Variable Scope
Saturday, April 15th, 2017Var keyword
Thursday, December 29th, 2016In the previous lessons, I’ve said that when declaring a variable, we are required to indicate the compiler the type of the variable and its name. These kind of variables are called explicitly typed variables:
1 |
int integerVariable = 123; // explicitly typed variable |
However, this is not entirely true.… Read more