In the code of a complex application, it should be possible to clearly identify the scope, or context, associated with any given parameter specification.
在复杂应用程序的代码中,应该有可能清晰地确定出与给定参数规范相关的作用域或环境。
The symptom of this problem is that a complex data object that is sent as a parameter or returned as a response may be missing certain elements.
此问题的征兆就是:一个作为参数发送或作为响应返回的复杂数据对象丢失了某些元素。
Nothing too complex in Listing 5: it simply performs an additional check for the user's input and passes that input to the srsearch parameter.
清单5并不复杂:它仅是简单地检查用户的输入,并将输入传递给srsearch参数。
应用推荐