另一种方式有点像“防御性编程”。
The other way is a bit of what's called "defensive programming." We simply change the cookie check to look like this.
在本例中,防御性编程似乎解决了问题。
In this case, defensive programming seems to have done the trick.
契约式设计或防御性编程。
But here's where I'm going to practice a little bit of defensive programming.
但是这儿我们要把编程的,防御性做的好一些。
应用推荐