Top "Scoping" questions

Scoping associates a name with an entity.

Is it a good practice to call functions in a package via ::

I'm writing some R functions that employ some useful functions in other packages like stringr and base64enc. Is it …

r scope namespaces scoping qualified-name
Java scoping rules and inner classes

All the crazy Java scoping rules are making my head spin and the public static void nonsense isn't helping matters. …

java inner-classes scoping
Are variables statically or dynamically "scoped" in javascript?

Or more specific to what I need: If I call a function from within another function, is it going to …

javascript scoping
When should i be opening and closing MongoDB connections?

i am very new to MongoDB and NoSQL in general and i've just started building a site with MongoDB / Norm / …

mongodb database-connection mongodb-.net-driver scoping norm
Why does using the same count variable name in nested FOR loops work?

Why does the following not give an error? for (int i=0; i<10; ++i) // outer loop { for (int i=0; i&…

c++ scoping
Set a functions environment to that of the calling environment (parent.frame) from within function

I am still struggling with R scoping and environments. I would like to be able to construct simple helper functions …

r function environment-variables scoping