释义 |
defensive programming 防错性程序设计 A programming approach with which some errordefensive measures are used during programming. Side-effects may also appeared with this approach, e.g., the program efficiency becomes lower, the program structure and readability become worse, and program errors may even increase. 一种程序设计方法。采用这种方法编制程序时要加进一些防止出错的防卫措施,但也有副 作用,会使程序效率下降,给程序的结构化及易读性带来不利,甚至增加程序的错误。 |