On Tue, Apr 10, 2012 at 4:01 PM, Axel Rauschmayer a...@rauschma.de wrote:
What is a good term for functions that don’t have/use dynamic `this`?
“Non-method function” defines them by what they aren’t, I would like a
positive definition. I’ve considered the term “pure function”, but the
On Apr 11, 2012, at 12:37 , Alex Russell wrote:
On Apr 11, 2012, at 1:02 AM, Allen Wirfs-Brock wrote:
On Apr 10, 2012, at 4:01 PM, Axel Rauschmayer wrote:
What is a good term for functions that don’t have/use dynamic `this`?
“Non-method function” defines them by what they aren’t, I would
On Wednesday, April 11, 2012 at 6:37 AM, Alex Russell wrote:
On Apr 11, 2012, at 1:02 AM, Allen Wirfs-Brock wrote:
On Apr 10, 2012, at 4:01 PM, Axel Rauschmayer wrote:
What is a good term for functions that don’t have/use dynamic `this`?
“Non-method function” defines them by
On Wed, Apr 11, 2012 at 1:01 AM, Axel Rauschmayer a...@rauschma.de wrote:
What is a good term for functions that don’t have/use dynamic `this`?
A bound function?
___
es-discuss mailing list
es-discuss@mozilla.org
On Apr 11, 2012, at 7:12 AM, Peter van der Zee wrote:
On Wed, Apr 11, 2012 at 1:01 AM, Axel Rauschmayer a...@rauschma.de wrote:
What is a good term for functions that don’t have/use dynamic `this`?
A bound function?
I'm leaning in that direction. A bound function has an unbound (dynamic)
Great idea. Do we need similar this-less variants for call and apply? Probably
not, the former is just a normal function call. The latter can by handled by
the spread operator.
IIRC, what one actually does here is not currying, but partial application.
However, I don’t see any good method name
Rauschmayer [a...@rauschma.de]
Sent: Wednesday, April 11, 2012 12:54
To: Allen Wirfs-Brock
Cc: es-discuss
Subject: Re: Terminology: “non-method function”
Great idea. Do we need similar this-less variants for call and apply? Probably
not, the former is just a normal function call. The latter can
On Tue, Apr 10, 2012 at 4:01 PM, Axel Rauschmayer a...@rauschma.de wrote:
What is a good term for functions that don’t have/use dynamic `this`?
“Non-method function” defines them by what they aren’t, I would like a
positive definition. I’ve considered the term “pure function”, but the
(corrected a pretty obvious typo in the first sentence)
On Apr 11, 2012, at 7:12 AM, Peter van der Zee wrote:
On Wed, Apr 11, 2012 at 1:01 AM, Axel Rauschmayer a...@rauschma.de wrote:
What is a good term for functions that don’t have/use dynamic `this`?
A bound function?
I'm leaning in
From a developer's POV - the terms bound/unbound makes a create deal of
sense, since already have bind, which effectively turns an unbound function
into a bound function. It basically completes the thought and makes it
easy to explain.
Heck, it even makes this behaviour easy to explain:
On Wed, Apr 11, 2012 at 4:32 PM, Wes Garland w...@page.ca wrote:
From a developer's POV - the terms bound/unbound makes a create deal of
sense, since already have bind, which effectively turns an unbound function
into a bound function. It basically completes the thought and makes it
easy to
What is a good term for functions that don’t have/use dynamic `this`?
“Non-method function” defines them by what they aren’t, I would like a positive
definition. I’ve considered the term “pure function”, but the adjective “pure”
is already heavily overloaded, especially in functional
Non-exophoric is probably too obscure ;)
On Tue, Apr 10, 2012 at 4:01 PM, Axel Rauschmayer a...@rauschma.de wrote:
What is a good term for functions that don’t have/use dynamic `this`?
“Non-method function” defines them by what they aren’t, I would like a
positive definition. I’ve considered
On Apr 10, 2012, at 4:01 PM, Axel Rauschmayer wrote:
What is a good term for functions that don’t have/use dynamic `this`?
“Non-method function” defines them by what they aren’t, I would like a
positive definition. I’ve considered the term “pure function”, but the
adjective “pure” is
Endophoric? It would make linguists happy. ;-)
On Apr 11, 2012, at 1:48 , Mark S. Miller wrote:
Non-exophoric is probably too obscure ;)
On Tue, Apr 10, 2012 at 4:01 PM, Axel Rauschmayer a...@rauschma.de wrote:
What is a good term for functions that don’t have/use dynamic `this`?
On Apr 11, 2012, at 2:02 , Allen Wirfs-Brock wrote:
On Apr 10, 2012, at 4:01 PM, Axel Rauschmayer wrote:
What is a good term for functions that don’t have/use dynamic `this`?
“Non-method function” defines them by what they aren’t, I would like a
positive definition. I’ve considered the
Or, if we could somehow express that a “non-method” has no dynamic dependencies
and e.g. call it “static function” or “lexical function”.
However, in JS we have:
callableObject instanceof Function
Thus, how about the following:
- Function: a callable object
- Method: A function
17 matches
Mail list logo