Closures have another huge advantage: they make it easy to enforce policy.
闭包还有一项重大的优势:让实施策略变得容易。
This process makes it relatively easy to enforce company policy on separate or workgroup computers where you can't rely on centralized group policy.
这个过程使得相对容易地强制实施公司策略,则不能在集中式的组策略进行依赖单独或工作组的计算机上。
The problem with SocketManager is that the lifetime of the Socket-User mapping should be matched to the lifetime of the Socket, but the language does not provide any easy means to enforce this rule.
SocketManager 的问题是 Socket-User 映射的生命周期应当与 Socket 的生命周期相匹配,但是语言没有提供任何容易的方法实施这项规则。
应用推荐