Perhaps silent failure or flag return values would be useful, or another sort of fallback operations for error cases.
无声故障或标志返回值可能会有用,或另一种用于错误例子的后退操作会有用。
If we had added a getValue method to class Leaf, we would either have to return some sort of flag value indicating that the method application is non-sensical or actually throw an exception.
如果我们已经向Leaf类添加了getValue方法,我们要么是不得不返回一些类型的标志值表明此方法应用是无意义的,要么是实际抛出一个异常。
The Boolean parameters only need the flag character itself to set a value, but the other types of parameters require some sort of additional argument information.
boolean形参只需标记字符本身就可以设置一个值,而其他类型的形参还需要某种附加的实参信息。
The "-i" flag allows editing of files in place, sort of like running them through a filter.
而-i 选项则类似于通过一个过滤器,允许在文件中不同的位置进行编辑。
The alias lt refers to ll and adds the -t flag to sort by creation time.
别名lt表示ll加上- t标志,以便根据创建时间进行排序。
The alias lt refers to ll and adds the -t flag to sort by creation time.
别名lt表示ll加上- t标志,以便根据创建时间进行排序。
应用推荐