Talk:Local variable
From Wikipedia, the free encyclopedia
"Some advocate that all variables should be of local scope to avoid issues with side-effects. In other cases, programming paradigms and languages themselves, such as the functional programming paradigm and the Haskell language require all "variables" (or the closest equivalent under that paradigm to variables) to be of local scope, and the functionality of the program is achieved only by passing local variables from one function to another."
-doesn't make sense: "should be of local scope... In other cases, ...require all 'variables' (or the closest equivalent under that paradigm to variables) to be of local scope"
-in Java you can have local static variables