Handle Garbage In

来源:互联网 发布:淘宝充值王者荣耀点券 编辑:程序博客网 时间:2024/05/22 06:26

There are three general ways to handle garbage in:

1. Check the values of all data from external sources 
2. Check the values of all routine input parameters 
3. Decide how to handle bad inputs