我喜欢该代码的原因是它简单易用(只有 1 行),并且能够让您在某种程度上控制自己的名称空间。
The reason I like this code is because it is simple to use (only 1 line), and gives you some control over your own namespace.
有时失效代码看起来并不是那么明显,只有为了测试试图到达它时才能发现实际上的残留程度。
Sometimes the code isn't so obviously vestigial, and only the attempt to reach it for testing can reveal just how vestigial it really is.
最初它只有大约36行代码。
It ultimately evaluates that line of code but just once the stuff inside the curly braces, but the semicolon on the end, essentially has the effect of this.
它最终执行了那行代码,但是只有一次,当那个东西在花括号里,分号放在后面,本质上影响了这个循环。
应用推荐