Once you are willing to move beyond "callee", there are a whole lot of 
available English words:

function.me
function.here
function.this   (I kinda like it but I also don't believe it would be a good 
choice)
function.target
function.self  (suggested by Claude)
function.object  (you are accessing the active function function)
function.active
function.recur
function.home
function.enclosing

and no doubt many more...

allen



On Feb 26, 2015, at 3:59 PM, Domenic Denicola wrote:

> function.current?
> From: Andrea Giammarchi
> Sent: ‎2015-‎02-‎26 18:56
> To: Tab Atkins Jr.
> Cc: es-discuss
> Subject: Re: Proposal: Additional Meta Properties for ES7
> 
> agreed ... between `self` and `callee` probably `self` is better. Anyone with 
> a different/new idea?
> 
> On Thu, Feb 26, 2015 at 11:50 PM, Tab Atkins Jr. <[email protected]> wrote:
> On Thu, Feb 26, 2015 at 3:27 PM, Claude Pache <[email protected]> wrote:
> > Alternative name for `function.callee`:  I find that `function.self` sounds
> > better in case of recursive call (and probably in other cases as well).
> 
> Agreed that "callee", while technically accurate, is a clumsy word and
> something like "self" sounds better.  "function.self", in particular,
> seems to communicate the right semantic, and implies that you're
> receiving a function .
> 
> It doesn't feel... apt, I think, to bring the caller/callee
> relationship to mind when you're not trying to deal with that
> relationship; all you're trying to do is recurse on yourself, in the
> case where you don't have a name to refer to yourself with.  The fact
> that you're running because someone else called you is irrelevant to
> this dynamic.
> 
> ~TJ
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
> 
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to