You see, unlike any of the other scholars who had tried to crack the code, Champollion happened to be fluent in Coptic.
你看,商博良和任何其他试图破解这个密码的学者都不一样,他碰巧是精通科普特语的。
Subsequent articles will show how to implement and test the code.
本系列的后续文章会为您展示如何实现和测试这些代码。
This makes the code easy to modify if the web service details change.
这样当Web服务的细节改变时,很容易对代码进行修改。
Your job is easier if you have the freedom to refactor the code you're testing.
如果能够自由地重构正在测试的代码,您的工作会简单些。
It's a good idea to clean up the code and adopt the new APIs where possible.
一个好的办法是清理代码,尽可能地使用新的API。
To refactor the code, start moving the style information to a CSS stylesheet.
要重构代码,首先将样式信息移到css样式表中。
Sometimes you have to just be patient enough to crank out the code you need to write.
有时候你必须要有足够的耐心去精雕细琢出你需要的代码。
So the company has brought the code-writing part of the work down from weeks to days.
所以公司已经将编码部分的工作从几周减到了几天。
Unit tests are so important that you should write your tests before you write the code.
由于单元测试是如此重要,所以您应该先编写测试,再编写代码。
In the best scenario, unit tests are actually built before the code that is to be tested.
在最佳场景中,单元测试实际上是先于待测试的代码而构建的。
Write just the code you need and no more. Your app will be leaner and healthier as a result.
只写你需要写的代码,绝不多写。结果你的应用将更加精简和健康。
Before jumping into the specifics of the code, let's have a look at the application's goals.
在开始研究代码细节之前,让我们先来了解一下这个应用程序的目标。
As the code base grows, these tests allow developers to integrate changes with confidence.
随着代码库的不断增大,这些测试将使开发人员能够很有把握地完成更改。
It's still good practice to put the annotation in there; it makes the code more maintainable.
保留这些注释仍然是个不错的做法;可以使代码更易于维护。
We've kept it easy to change, so we can always add the code for more scenarios and stories later.
我们保持代码易于修改,这样就可以在以后为更多的场景和故事添加代码。
Additionally, we've moved all our validation logic into one place, avoiding redundancy in the code.
另外,我们已将所有的验证逻辑移至一处,从而避免代码中出现冗余。
You can refactor the code to isolate the data access functions into a separate file as homework.
作为练习,您可以对代码进行重构以将数据访问函数分离到单独的文件中。
Instead, programmers should strive to balance the complexity of the code with the needs of the users.
相反,程序员应该努力平衡代码的复杂性和用户的需要。
Functional tests fill in the gap left by unit tests and give the team even more confidence in the code.
功能测试填补单元测试留下的空白,并可增强小组对代码的信心。
You write tests before you write the code, solidifying your understanding of what the code needs to do.
先写测试,再编写代码,这样可以巩固您对代码所需执行的操作的理解。
Because the method has a meaningful name, the code doesn't lose its meaning or become difficult to read.
因为方法拥有一个有意义的名字,所以它能反映代码的用途,让代码更容易阅读。
I recommend you get the code, start playing with it, and maybe try your hand at adding new things to it.
我推荐您下载代码,开始做各种尝试,甚至自己动手向其中添加新内容。
Allowing the code to lead you toward design means that you have a better understanding of what you need.
让代码引领设计,这意味着对需求有更好的理解。
More-expressive languages make it easier to find idiomatic patterns because the code contains less noise.
表达性更好的语言可以帮助开发人员更加轻松地发现惯用模式,因为代码中包含的无用信息更少。
I'd actually recommend you read through the article once, and then work through the code, piece by piece.
实际上,我建议您先通读一遍本文,然后再逐段地测试代码。
The style you choose has a significant impact on the code complexity and maintainability of your style sheets.
您所选择的样式对样式表的代码复杂性和可维护性具有重要的影响。
The dual approach of studying the code and using debugging tools is the best way to identify and fix problems.
结合研究代码和使用调试工具这两种方法是识别和修正问题的最佳方案。
The dual approach of studying the code and using debugging tools is the best way to identify and fix problems.
结合研究代码和使用调试工具这两种方法是识别和修正问题的最佳方案。
应用推荐