Talk:Local variable

Page contents not supported in other languages.
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

—Preceding unsigned comment added by 70.49.14.250 (talk) 12:31, 18 August 2006 (UTC)[reply]