The overall result is that the code is more readable and less prone to the kinds of off-by-one errors common to array indexing.
总的结果是代码的可读性更强,更不容易发生数组索引常出现的离一(off-by-one)误差。
Some seemed careless — moving a row or a column over by one in a giant spreadsheet — while others seemed inexplicable. The Duke team shrugged them off as “clerical errors.”
一些错误看起来是无心之失——庞大的电子数据表中错移的一行或一列数据;还有一些无法解释的错误,杜克的团队轻描淡写地解释为“笔误”。
Some seemed careless — moving a row or a column over by one in a giant spreadsheet — while others seemed inexplicable. The Duke team shrugged them off as “clerical errors.”
一些错误看起来是无心之失——庞大的电子数据表中错移的一行或一列数据;还有一些无法解释的错误,杜克的团队轻描淡写地解释为“笔误”。
应用推荐