现在根据上面设定的规则检验主题输入数据。
Subject input data will now be validated according to the rules set above.
转换和验证使您可以侧重于业务逻辑,而不是侧重于对输入数据进行繁琐的资格认定,比如null检验、长度限定、范围边界,等等。
Conversion and validation allow you to focus on business logic rather than the tedious qualifications of input data such as null checks, length qualifiers, range boundaries, etc.
如果脚本操作来自用户或数据输入文件的输入数据,那么一定要全面筛选、检查和检验输入数据。
If your script is operating on input data from users or a data input file, always thoroughly filter, check, and validate the input data.
应用推荐