約 53 件の結果
リンクを新しいタブで開く
  1. functional programming - What is a 'Closure'? - Stack Overflow

    2008年8月31日 · I asked a question about Currying and closures were mentioned. What is a closure? How does it relate to currying?

  2. function - How do JavaScript closures work? - Stack Overflow

    2008年9月21日 · How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not …

  3. What is a practical use for a closure in JavaScript?

    2010年4月28日 · But the callback function in the setTimeout is also a closure; it might be considered "a practical use" since you could access some other local variables from the …

  4. oop - Closures: why are they so useful? - Stack Overflow

    2009年8月20日 · 3 Closures fit pretty well into an OO world. As an example, consider C# 3.0: It has closures and many other functional aspects, but is still a very object-oriented language. In …

  5. What are 'closures' in C#? - Stack Overflow

    A closure in C# takes the form of an in-line delegate/ anonymous method. A closure is attached to its parent method meaning that variables defined in parent's method body can be referenced …

  6. What is the difference between a 'closure' and a 'lambda'?

    Lambdas and closures are each a subset of all functions, but there is only an intersection between lambdas and closures, where the non-intersecting part of closures would be named functions …

  7. Can you explain closures (as they relate to Python)?

    2008年8月17日 · For me, "closures" are functions which are capable to remember the environment they were created. This functionality, allows you to use variables or methods …

  8. What are 'closures' in .NET? - Stack Overflow

    2009年1月9日 · 3 Closures are chunks of code that reference a variable outside themselves, (from below them on the stack), that might be called or executed later, (like when an event or …

  9. Are Lambda expressions in C# closures? - Stack Overflow

    Closures are an aspect of lambda expressions. Lambdas need not necessarily support closures. Some languages implement it differently. For eg, Java is different from C# in that former …

  10. Do we have closures in C++? - Stack Overflow

    2012年9月28日 · I was reading about closures on the net. I was wondering if C++ has a built-in facility for closures or if there is any way we can implement closures in C++?