Jump to content

Talk:Closure (computer programming)/to do

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ruud Koot (talk | contribs) at 17:27, 19 February 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
  • Introduction
    • Rewrite lead paragraph
      • Closure = Function + Environment
      • What happens when creating a closure? (Closure captures the current lexical environment)
      • What happens when entering a closure? (Function is executed in the lexical environemnt captured by the closure)
    • Add an introductory section
      • Targeted primarily at imperative programmers who have little experience with non-local variables
  • History
  • Semantics
  • Implementation
  • Applications: thunk (delayed computation), memoization, object system, hidden state/static variables