In a loop, a guard can have two special conditions tested against in addition to the standard Boolean test.
在一个循环中,除了标准的布尔测试外,一个约束能测试二个特定的条件式。
The standard way to handle this problem is to check first to see if logging is enabled before constructing expensive logging messages. In other words, use a guard clause like Listing 1.
解决这个问题的标准方式是在构造昂贵的日志消息之前,首先检查是否启用了日志。
Being the guard, academic editorial department should be on the duty to maintain academic standard.
作为学术“守门人”的编辑出版部门,在维护学术规范上有着义不容辞的职责。
应用推荐