应用程序代码也往往捕获并转换异常,其间常常废弃许多详细信息。
Application code also tends to catch and translate exceptions, usually discarding many details in the process.
图9:废弃—通过被删除的代码行数进行测量。
另一方面,无效的,废弃的代码只会使程序变得拥挤不堪,难于阅读和理解,所以还是删掉的好。
On the other hand, dead, unused code only clutters a program and makes it harder to read and understand, so delete it.
他们觉得“由代码开始”将XML消息结构绑定到了一个特定的实现,这废弃了使用WSDL和模式的整个目的。
They feel that starting from code ties the XML message structures to a particular implementation, which defeats the whole purpose of using WSDL and schema.
re模块废弃了在老的Python代码中使用的regex和regsub模块。
The re module obsoletes the regex and regsub modules that you may see used in some older Python code.
re模块废弃了在老的Python代码中使用的regex和regsub模块。
The re module obsoletes the regex and regsub modules that you may see used in some older Python code.
应用推荐