Talk:Closure (computer programming): Difference between revisions

Content deleted Content added
Etomology: added an Etymology section section to the article
Apwith (talk | contribs)
Line 366:
 
Sidestepping the above the theoretical arguments real quick, I must say that I find the ECMAscript examples to be very illuminating, more so than the scheme/list ones (which are important in their own right of course). Regardless of whether the ECMA examples are "pure" in the language design sense, they definitely help bridge the gap for those used to procedural languages. Bravo to whomever put them in. [[User:Pkcirtap|Pkcirtap]] 00:44, 8 March 2007 (UTC)
 
I'm still fuzzy on what a closure is, and I too liked the EcmaScript examples, but I have a very minor beef with one of them. The first example in the [[Closure_(computer_science)#Differences_in_semantics|Differences in semantics]] section confused for an instant. I had read the x = 0 assignment, and I didn't notice the later x =1 assignment. Now, I now this is extremely minor, but I think the readability of the example increases if the initial assignment is x = 1. It seems a bit odd that its done the way it is, and rather than assume that its for no reason, I will assume that maybe I don't understand the reason. That, and my low level of understanding of the topic, keep me from editing myself. Hopefully one of the authors will read this and do the edit or explain the reasons to me (apparently I also need things to be typed slowly &8-P). [[User:Apwith|Apwith]] ([[User talk:Apwith|talk]]) 19:29, 16 October 2009 (UTC)
 
== What Are Closures ==