所以,代码是否有问题取决于有多少线程能够并发地访问这个操作。
So, whether the code is buggy depends on how many threads can access the operation concurrently.
决定代码是否需要重构的方法,通常是主观的。
The means of deciding whether code should be refactored is often subjective.
这很重要,因为这样我就可以预测,结果会是多少了,如果你愿意,我们可以做烟气试验,来看我的代码是否工作正常。
Important lesson, so that there would be some predictability in the results and I would have some, if you will, smoke test for knowing whether or not I was getting, my code seemed to be working.
这些信息可以得到评审和报告,帮助您识别,代码是否需要得到单元测试认证,以及单元测试成功执行的程度。
This information can be viewed and reported on, helping you identify if your code needs unit-test authoring and how successfully running the unit testing has been.
在决定是否应用代码校正时,要确定这种校正对成品有多重要。
When deciding whether to apply a code correction, determine how crucial it is to the finished product.
为测试提供了更多的支持,无论代码是否抛出异常。
More support for testing whether code does or doesn't throw an exception.
设计原则:验证你的代码是否坚持面向对象编程的设计原则。
Design principles: Validates that your code adheres to the design principles of object-oriented programming.
基本代码是否相同与用户并无关系——存款和取款就是不同的逻辑操作。
It's irrelevant to the user whether the underlying code is the same — deposits and withdrawals are different logical operations.
这些子类让你能够验证你的代码是否遵守和编码、现场处理、翻译和其他相关的全球化最优方法。
The subcategories allow you to validate that your code complies with best practices related to encoding, locale handling, translations, and others.
您可以检查服务,以确定它们是否为使用下面代码的投影。
Services can be examined to determine if they are projections using the following code.
验证测试是否含有在您的代码中定制化输入所需的引用。
Verify that the test contains the references that are required for customized inputs to your code.
您的开发人员是否用到模型和代码?
虽然DB 2执行自我优化,但是是否需要代码页转换还不清楚。
Though DB2 does its own optimizations, code page conversions may or may not be necessary.
我们需要的是客观评估代码质量的方法,某种可以决定性地告诉我们正在查看的代码是否存在风险的东西。
What we need is a means to objectively evaluate code quality, something that can tell us, definitively, that the code we're looking at is risky.
是否需要针对所有货币代码和公司复制历史汇率。
Whether you want to copy historical rates for all currency codes and companies.
单元测试检验代码是否做了开发人员希望它做的事儿,而不只是对类型进行拼写检查。
Unit testing provides verification that the code does what is expected, not just spell-checking your typing.
只要它能够工作就行了,不用担心别人是否称许您的代码。
So get it to work and don't worry whether anyone appreciates what you've wrought.
进行代码路径分析,以查看阻塞请求并发执行的代码中是否存在同步阻塞。
Do code path analysis to see if there is a synchronized block in the code that is blocking requests to execute concurrently.
也可以编写检查代码是否符合小组规则的检测器。
Or maybe you could write detectors that check that your code follows your team's guidelines.
所以您可以自行决定是否希望在代码中创建和使用Executor实例。
So you are on your own if you want to create and use Executor instances throughout your code.
通过进行此类讨论,您可以更好地了解代码是否为采用一致的方式设计的。
By having this type of discussion, you can better see if the code is engineered in a consistent fashion.
通过自动化示例和场景,我们能够发现代码是否能够工作。
By automating our examples and scenarios, we find out if our code doesn't work.
你可以选择你所使用的HTML的版本,选择是否显示源代码,是否使用一个”脏“浏览器,以及几个其它选项。
You can choose which version of HTML for it to use, whether to display the source code, use a “dirty” parser, and there are a couple of other options.
源字段中是否使用标准代码,如用户部门或位置代码?
Are standard codes used in source fields, such as user department or location codes?
但是,也有可能客观地判断代码是否应当重构,不论是自己的代码还是别人的代码。
It's also possible to objectively determine whether code should be refactored, however, whether it's yours or someone else's.
有经验的程序员能够一眼看出程序的源代码并断定它是否是一个易读的代码。
Experienced programmers can look at a program's source code and tell whether it's readable or not.
此时,这个文件是空白的;它的作用只是为了能够在这里运行这个示例来检查代码是否正常工作。
For now, this file is blank; it exists only so that you can run the example here to check that the code is working correctly.
这个数据库的主要价值在于:在开发期间,允许定期检查代码库以查看代码是否退化或引入了错误。
The main value of this database is to allow for checking the code base periodically for regression or the introduction of errors as development proceeds.
这个数据库的主要价值在于:在开发期间,允许定期检查代码库以查看代码是否退化或引入了错误。
The main value of this database is to allow for checking the code base periodically for regression or the introduction of errors as development proceeds.
应用推荐