What are the advantages of dynamic scoping?

后端 未结 10 947
迷失自我
迷失自我 2020-12-14 01:21

I\'ve learned that static scoping is the only sane way to do things, and that dynamic scoping is the tool of the devil, and results only from poor implementations of interpr

10条回答
  •  长情又很酷
    2020-12-14 01:46

    I think dynamic scope in Common LISP is analogy of Global Variable in C. Using them in a functional functions is problematic.

提交回复
热议问题