Object verification is a classic defensive programming strategy for dealing with uncertainty.
对象验证是处理不确定性的一项经典的防御性编程策略。
The other way is a bit of what's called "defensive programming." We simply change the cookie check to look like this.
另一种方式有点像“防御性编程”。
For this type of problem, developers often employ defensive programming techniques that aim to catch potential errors before they wreak havoc.
对于这类问题,开发人员通常会使用防御性编程技术,该技术专门用来在发生摧毁性后果前捕捉潜在错误。
Find out what happens when you combine defensive programming, design by contract, and an easy-to-use generic validation framework called OVal.
尝试为应用程序整合进防御性编程、契约式设计和一种叫做OVal的易用的通用验证框架。
Those familiar with aspect oriented programming, or AOP, will recognize this as a crosscutting concern, meaning that defensive programming techniques span horizontally across a code base.
熟悉面向方面编程(或AOP)的人们会把它认为是横切关注点,这意味着防御性编程技术横跨了代码库。
Defensive programming techniques are used especially when a piece of software could be misused.
尤其是当一个软件可能被滥用时,可以使用防御性编程技术。
Defensive programming constructs have prevented many a defect, but the constructs themselves tend to litter code with repetitive logic.
防御性编程结构阻止了一个又一个缺陷,但这些结构本身却不免为代码添加了重复的逻辑。
Defensive programming constructs have prevented many a defect, but the constructs themselves tend to litter code with repetitive logic.
防御性编程结构阻止了一个又一个缺陷,但这些结构本身却不免为代码添加了重复的逻辑。
应用推荐