Talk:local variable

global variable
These two are listed as antonyms but have the same definition. -- Liliana • 08:40, 3 July 2012 (UTC)
 * And guess what? One is a variable that has local scope, the other a variable that has global scope. Just delete them both. SemperBlotto (talk) 08:45, 3 July 2012 (UTC)
 * Beer parlour. Mglovesfun (talk) 11:40, 3 July 2012 (UTC)
 * I've improved the definitions. 11:58, 3 July 2012 (UTC)
 * Not like you could've made them worse! Mglovesfun (talk) 21:32, 3 July 2012 (UTC)
 * I do think these should probably be deleted, though, and the relevant senses added to local and global. There are many other possible kinds of variable scopes, like static, thread-local, and those terms don't have to apply only to variables. 12:23, 4 July 2012 (UTC)

global variable
In an RFC in 2012, User:SemperBlotto and User:CodeCat expressed support for deleting these entries... but nobody ever bothered to send them to RFD. —Μετάknowledge discuss/deeds 17:38, 16 September 2017 (UTC)
 * Keep: This seems to be the talk:free variable case. --Dan Polansky (talk) 17:49, 16 September 2017 (UTC)
 * Interestingly, in Talk:prime number and Talk:free software, there was a near unanimity for keeping. Some similar entries: algebraic number, algebraic integer, bound variable, cardinal number, complex number, free variable, imaginary number, rational number, real number, transcendental number, free software, open set, closed set, complete graph, normal distribution. --Dan Polansky (talk) 08:20, 18 September 2017 (UTC)
 * Delete again. You can say "is that variable global or local?". Clearly, the qualifier "global" doesn't have to precede the term. Moreover, other things can be global or local besides variables: functions, classes, pretty much anything that is scoped. —Rua (mew) 17:58, 16 September 2017 (UTC)


 * Delete. (I would also prefer not to have "free variable", "prime number" and friends.) Equinox ◑ 23:00, 16 September 2017 (UTC)


 * A small representative handful of other things that you might encounter in programming (from GBooks): "local constant", "local instance", "local scope", "global object", "global static variable", "local integer variable": you get the idea. Equinox ◑ 23:02, 16 September 2017 (UTC)
 * These are largely variations on "variable", except perhaps for scope. Injectablity in between does not bother me any more than with phrasal verbs. The definition at local is designed for variables anyway rather than scopes: "Having limited scope (either lexical or dynamic); only being accessible within a certain portion of a program". To me, local variable is a natural location, as is static variable (redlink), prime number and red dwarf. --Dan Polansky (talk) 23:19, 16 September 2017 (UTC)
 * Delete. We have the relevant sense of local ("(computing, of a variable or identifier) Having limited scope (either lexical or dynamic); only being accessible within a certain portion of a program." and global ("Of a variable, accessible by all parts of a program.") DCDuring (talk) 01:05, 18 September 2017 (UTC)
 * In Talk:free variable, you voted delete, consistent with your present vote. --Dan Polansky (talk) 08:20, 18 September 2017 (UTC)

Deleted. bd2412 T 17:07, 24 December 2017 (UTC)