如果机器运转不正常,就会出现错误代码。
In the event of the machine not operating correctly, an error code will appear.
继续这个例子,当您尝试验证清单2内的XML文档时,就会出现错误。
Continuing with this example, when you attempt to validate the XML document in Listing 2, you get an error.
如果仅仅使用文件复制指令,在文件大小超过磁盘容量时,就会出现错误。
If you just use the command of copying files, it will be mistakes that the size of the file is larger than the capacity of the disk.
It's a bad habit to get into, because when you come back to it, it may haunt you later on down the road. So really get into that notion of trying to be defensive as you program.
来运行程序的时候,错误就会出现缠住你了,因此现在我们真的要培养,在程序中有防卫性设计的概念。
应用推荐