KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
closures
91 questions · page 1 of 2
Follow Tag
Sort by:
Newest
Votes
Active
35
votes
2
answers
Scala return statements in anonymous functions
scala
return
closures
anonymous-function
asked 2013-07-19T20:30:59.080
24
votes
3
answers
How does the closure mechanism work in Perl?
perl
closures
asked 2013-06-11T08:18:27.350
85
votes
5
answers
Mutable variable is accessible from closure. How can I fix this?
javascript
closures
mutable
asked 2013-05-23T21:58:45.767
9
votes
3
answers
Why are self-executing anonymous functions used in Javascript Module pattern?
javascript
module
closures
asked 2013-05-03T22:42:43.107
39
votes
2
answers
Access variables from parent scope in anonymous PHP function
php
closures
asked 2013-02-23T15:33:41.357
11
votes
2
answers
Issue with closure variable capture in c# expression
c#
lambda
closures
asked 2013-01-29T14:26:47.037
9
votes
1
answers
Node Grunt Asynchronous Task in Loop with Closure not Working
node.js
asynchronous
callback
closures
gruntjs
asked 2013-01-18T21:26:21.077
70
votes
5
answers
Exception: Serialization of 'Closure' is not allowed
php
exception
serialization
closures
asked 2012-12-05T23:12:31.643
9
votes
2
answers
Why don't all of these variables get treated the same way?
vb.net
closures
asked 2012-11-07T09:29:05.997
68
votes
7
answers
Do we have closures in C++?
c++
closures
lexical-closures
asked 2012-09-28T07:05:02.543
18
votes
3
answers
Python closure function losing outer variable access
python
closures
decorator
asked 2012-08-29T16:04:32.103
12
votes
3
answers
How does this JavaScript closure-function reuse an object without a global variable?
javascript
closures
asked 2012-08-09T06:00:33.840
21
votes
7
answers
How to maintain state in Python without classes?
python
closures
state
asked 2012-08-08T14:14:04.233
9
votes
4
answers
Is this a valid use case for javascript closure?
javascript
closures
application-design
asked 2012-07-16T00:21:40.167
21
votes
2
answers
How am I meant to use Filepath.Walk in Go?
closures
go
asked 2012-07-04T22:34:27.203
19
votes
3
answers
Lambda function variables in C++11
c++
lambda
c++11
closures
asked 2012-04-14T16:51:43.183
102
votes
2
answers
Why do we need fibers
ruby
lambda
closures
fibers
proc
asked 2012-01-29T10:55:00.267
28
votes
5
answers
Checking Objective-C block type?
objective-c
oop
closures
objective-c-blocks
introspection
asked 2012-01-28T20:24:35.063
13
votes
4
answers
Closing tag with ID property
html
closures
w3c
doctype
w3c-validation
asked 2012-01-16T22:12:57.237
15
votes
3
answers
About closure, LexicalEnvironment and GC
javascript
garbage-collection
closures
asked 2011-12-29T09:02:31.847
25
votes
3
answers
access outer class from inner nested enum
java
android
scope
closures
inner-classes
asked 2011-12-10T16:34:29.533
11
votes
3
answers
Is a closure for dereferencing variables useful?
javascript
closures
dereference
asked 2011-11-27T20:09:53.283
39
votes
2
answers
Confused by closures in JavaScript
javascript
closures
asked 2011-11-17T17:56:20.097
11
votes
3
answers
odd lambda behavior
c#
lambda
closures
asked 2011-11-14T02:39:00.993
18
votes
3
answers
Is it possible to reference an anonymous function from within itself in PHP?
php
closures
anonymous-function
asked 2011-10-24T15:23:46.500
9
votes
4
answers
function definition inside another function definition -slow?
python
performance
function
closures
decorator
asked 2011-10-19T15:12:47.137
9
votes
1
answers
Delphi anonymous methods - pro and cons. Good practices when using closures(anonymus methods) in Delphi
delphi
closures
anonymous-methods
asked 2011-10-19T08:48:45.740
23
votes
4
answers
Why doesn't this closure modify the variable in the enclosing scope?
python
closures
generator
asked 2011-09-23T23:30:34.940
55
votes
3
answers
Javascript closures vs PHP closures, what's the difference?
php
javascript
closures
asked 2011-09-14T13:49:57.137
44
votes
5
answers
Defining Setter/Getter for an unparented local variable: impossible?
javascript
scope
closures
local
setter
asked 2011-09-13T10:20:04.187
36
votes
5
answers
Recursive closures in JavaScript
javascript
closures
asked 2011-08-11T09:18:43.497
10
votes
3
answers
Referencing variables from containing scope when using create_function as a closure. PHP
php
reference
closures
asked 2011-06-26T20:34:36.743
9
votes
2
answers
JavaScript inner-functions and Performance
javascript
closures
performance
asked 2011-06-25T07:35:50.870
40
votes
11
answers
JavaScript pass scope to another function
javascript
node.js
closures
scope
serverside-javascript
asked 2011-06-14T19:20:18.057
84
votes
3
answers
Use keyword in functions - PHP
php
closures
anonymous-function
asked 2011-06-12T06:25:02.360
9
votes
2
answers
Difference between closures in python and javascript
javascript
python
closures
asked 2011-05-06T10:37:00.693
23
votes
5
answers
What is a function that takes no arguments called?
language-agnostic
functional-programming
closures
nomenclature
asked 2011-04-27T15:01:32.950
11
votes
3
answers
Test if a variable is serializable
php
serialization
closures
asked 2011-04-25T04:12:31.747
16
votes
3
answers
Closure with typed arguments in Groovy
groovy
closures
static-typing
groovy++
asked 2011-04-15T19:46:32.100
12
votes
4
answers
Javascript closures - variables vs parameters
javascript
closures
asked 2011-03-27T10:45:32.363
107
votes
7
answers
Closure in Java 7
java
closures
asked 2011-03-26T16:07:19.177
20
votes
2
answers
print the closure definition/source in Groovy
groovy
closures
asked 2011-03-10T16:52:29.827
169
votes
11
answers
How should I call 3 functions in order to execute them one after the other?
javascript
asynchronous
callback
closures
asked 2011-03-03T23:32:48.313
10
votes
2
answers
Do closures in Javascript get a reference to the full outer function or do they only get references to the variables they actually use?
javascript
closures
asked 2011-02-09T15:48:11.157
82
votes
1
answers
Closure vs Anonymous function (difference?)
closures
anonymous-function
asked 2011-02-06T07:07:51.837
11
votes
2
answers
Updating "it" inside a Groovy closure
grails
groovy
closures
asked 2011-01-16T23:29:53.073
123
votes
12
answers
Calling closure assigned to object property directly
php
object
properties
closures
asked 2010-12-26T20:40:03.383
9
votes
3
answers
F#: Disposing of resources that are inside a closure?
f#
closures
dispose
asked 2010-12-13T05:23:26.820
16
votes
3
answers
PHP: Pass anonymous function as argument
php
closures
anonymous-function
argument-passing
asked 2010-11-16T21:45:06.723
10
votes
4
answers
Self-Invoking Functions in JavaScript
javascript
closures
asked 2010-10-27T16:45:07.380
page 1 of 2
Next →