What are the advantages of dynamic scoping?
Like everything else, Dynamic Scoping is merely a tool. Used well it can make certain tasks easier. Used poorly it can introduce bugs and headaches. I can certainly see some uses for it. One can eliminate the need to pass variables to some functions. For instance, I might set the display up at the beginning … Read more