Talk:Closure (computer programming): Difference between revisions

Content deleted Content added
Line 747:
 
:: I do think that the final part of the first sentence ("for the non-local variables of that function.") needs to be clarified. In particular it might be possible to give a definition of "referencing environment" instead. Something along the lines of "a map containing [[name binding|binding]]s for the [[non-local variable]]s of that function."?—''[[User:Ruud Koot|Ruud]]'' 21:47, 28 December 2011 (UTC)
 
::I have taken the liberty to remove the terms ''function value'' and ''functional value'' from the first sentence. These terms do not usually refer to closures, except of course in the context of languages in which all function values are closures, but there are many languages in which this is not the case. [[User:Rp|Rp]] ([[User talk:Rp|talk]]) 12:38, 31 March 2012 (UTC)
 
== First Example (Python) ==