Talk:Local variable
This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
"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
—Preceding unsigned comment added by 70.49.14.250 (talk) 12:31, 18 August 2006 (UTC)