In this task, we start identifying the code that implements the use cases.
在此任务中,我们开始鉴别实现用例的代码。
In some cases, particular organizations have their own custom promotion model for code deployment.
在一些情况下,特定的组织有他们自己的代码部署客户实践模型。
In some cases, code inspection will be enough to find it.
在某些情况下,通过检测代码才能够发现。
The application code in both cases is similar.
这两种情况中的应用程序代码相似。
You will find that in most cases, with good design, copying code is completely unnecessary.
在大多数情况下,使用优秀设计后,您将会发现完全没有必要复制代码。
In those cases, you won't get a status code at all.
在这些情况中,您根本就不会得到状态代码。
The base cases are then handled inconsistently by client code.
客户端代码对基本例处理不一致。
Now that the code is written, it is time to write the test cases.
既然已经编写了代码,是时候编写测试用例了。
Preferably, you should code test cases first.
您应该优先编写测试用例。
Present the refactoring and, in some cases, the patterns to fix the code smell.
提供用于修复代码味道的重构和模式(在某些情况下)。
Placing test cases in the same unit as the tested code.
把测试案例和被测试的程序代码放在同一个单元里面。
In extreme cases, create code only against a formal requirement or bug.
在极限情况下,只按照正式需求或bug 来创建代理。
In these cases, your code probably won't work under any circumstances.
在这种情况下,代码无论如何都不会工作。
In many cases, you can make a rudimentary game without writing any code.
在很多情况下,你可以创造一个不需要任何代码的简单游戏。
In most cases, though, the necessary changes will involve only a few lines of code.
尽管在大多数情况下,必要的更改只涉及少数代码行。
You must ensure that your program logic has fallback code for each of those cases.
如果是这些情况,您就必须确保程序逻辑具有后援程序码。
These are simple test cases, testing some application code.
这些都是简单的测试用例,测试一些应用程序代码。
These are simple test cases, testing some application code.
这些都是简单的测试用例,测试一些应用程序代码。
应用推荐