May 8th, 2010

Named Arguments II: Naming Named Arguments

Jesse Welton sent me some email (in lieu of posting here) suggesting that the name for this feaure could be better, specifically that it should emphasize the way these variables are 'inherited' in callees. I tend to agree.

His first suggestion was "dynamic environment variables", which isn't bad, but it could be a little confusing because of Unix environment variables. He also came up with "context variables" and "named dynamic variables".

A couple of ideas of my own: "public locals" (an oxymoron), "public arguments" (sounds like something you ought to deal with in marriage counseling), "super locals", "super arguments" (sounds like it involves throwing chairs on daytime television).

What we really need is a standard term of art for "a function and all of its callees", but I can't think of one.

I think I'm warming up to "context variables" - it's concise and it pretty well captures what they do.

Any thoughts on these, or other ideas?