然后我还会问她是否测试了这个代码。
所以,代码是否有问题取决于有多少线程能够并发地访问这个操作。
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.
该代码的目的是否容易解释?
在决定是否应用代码校正时,要确定这种校正对成品有多重要。
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.
您的开发人员是否用到模型和代码?
虽然DB 2执行自我优化,但是是否需要代码页转换还不清楚。
Though DB2 does its own optimizations, code page conversions may or may not be necessary.
可理解性:代码是否清晰易懂?
只要它能够工作就行了,不用担心别人是否称许您的代码。
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.
客户不会关心给定的设计是否会加快代码的设计。
Customers don't really care if a given design was quicker to code.
公司是否要透露自己的源代码呢?
生成的代码是否自然、干净、一致且高效呢?
Is the code it generates natural, clean, consistent and efficient?
也可以编写检查代码是否符合小组规则的检测器。
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.
此时,这个文件是空白的;它的作用只是为了能够在这里运行这个示例来检查代码是否正常工作。
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.
意外的代码路径:通过跟踪进入和退出点,可以看出程序是否采用了意外的代码路径。
Unexpected code paths: by following the entry and exit points, it is possible to see any unexpected code paths taken by the program.
意外的代码路径:通过跟踪进入和退出点,可以看出程序是否采用了意外的代码路径。
Unexpected code paths: by following the entry and exit points, it is possible to see any unexpected code paths taken by the program.
应用推荐