Content deleted Content added
Thelazyleo (talk | contribs) →Clarity: first sentence of article - too confusing |
Thelazyleo (talk | contribs) m →Clarity |
||
Line 742:
::::: Good suggestion. I think the "typical" part might still need to be changed. We are talking about variables that are still in the lexical scope, but might by outside of the dynamic scope. Most (non-LISP) programmers would probably assume "typical" refers to lexical scope here. —''[[User:Ruud Koot|Ruud]]'' 13:55, 22 September 2011 (UTC)
:"''In computer science, a closure (also lexical closure, function closure, function value or functional value) is a function together with a referencing environment for the non-local variables of that function.''" This sentence is by far the most confusing thing I've ever seen. I'm almost on the floor laughing from how vaguely confusing it is. Firstly the usage of "together with" in this sentence is nothing more than weasel words here and add insult to injury in this confusing context. I see what you guys are trying to do here by trying to define a closure in one sentence but we shouldn't be tossing around confusing words like that before the end-user at least knows what we are talking about. If anything, I think it would be best if we flipped some things around in this sentence. Can we re-word the sentence to something more like this?: ''In computer science, a closure (also lexical closure, function closure, function value or functional value) is the scope of a function that that has a referencing environment for variables which are not local to it that appear in a parent scope.'' --[[User:Thelazyleo|<span style="color:blue;">T<span style="color:royalblue">he</span>l<span style="color:royalblue">azy</span>l<span style="color:royalblue">eo</span></span>]] ([[User talk:Thelazyleo|<span>talk</span>]]) 20:39, 28 December 2011 (UTC)
|