Jump to content

Talk:local variable

Page contents not supported in other languages.
Add topic
From Wiktionary, the free dictionary
Latest comment: 6 years ago by BD2412 in topic RFD discussion: September–December 2017

RFC discussion: July 2012

[edit]

The following discussion has been moved from Wiktionary:Requests for cleanup (permalink).

This discussion is no longer live and is left here as an archive. Please do not modify this conversation, but feel free to discuss its conclusions.


These two are listed as antonyms but have the same definition. -- Liliana 08:40, 3 July 2012 (UTC)Reply

Wiktionary:Beer parlour#User:Sae1962. Mglovesfun (talk) 11:40, 3 July 2012 (UTC)Reply
I've improved the definitions. —CodeCat 11:58, 3 July 2012 (UTC)Reply
Not like you could've made them worse! Mglovesfun (talk) 21:32, 3 July 2012 (UTC)Reply
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. —CodeCat 12:23, 4 July 2012 (UTC)Reply


RFD discussion: September–December 2017

[edit]

The following information has failed Wiktionary's deletion process (permalink).

It should not be re-entered without careful consideration.


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. —Μετάknowledgediscuss/deeds 17:38, 16 September 2017 (UTC)Reply

Delete. (I would also prefer not to have "free variable", "prime number" and friends.) Equinox 23:00, 16 September 2017 (UTC)Reply
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)Reply
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) Reply
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)Reply
In Talk:free variable, you voted delete, consistent with your present vote. --Dan Polansky (talk) 08:20, 18 September 2017 (UTC)Reply

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