以上来源于: WordNet
Avoid multiple nested function calls. Use composition instead.
请避免使用多层嵌套函数调用,使用组合函数去替代。
What if we need to use a variable that is defined outside a nested function.
那如果我们需要使用定义在嵌套函数外面的变量呢?
When a nested function is used in this way, it is often explicitly called a closure.
当某个内嵌函数被这样使用时,它通常就被称作闭包。
应用推荐