In truth, the best software engineers are craftsman, bringing energy, ingenuity, and creativity to every line of code.
事实上,最优秀的软件工程师是工匠,他们能把能量、独创性和创造力融入到每一行代码中。
One line of code … Zip! Solved!
只用1行代码……打包!解决!
Not bad for roughly 150 lines of code, is it?
只有大约 150行代码,还不错吧?
To publish an event, all you need is one line of code.
发布事件只需一行代码。
It's easily done, and only several lines of code are needed.
这很容易实现,只需要几行代码。
Moreover, you can customize nearly everything with a bit of code.
另外,您还可以通过少量代码定制几乎所有特性。
In most situations you do not have to write a single line of code.
在很多情况下,您都不需要编写任何代码。
Each line of code serves its purpose and resides in the right place.
代码的每一行,都应恰如其分地展现出其原有目的。
The result generated by this exciting piece of code looks like this.
这一段令人兴奋的代码生成的结果如下所示。
If you think a piece of code is confusing, write unit tests for it.
如果你觉得一段代码难于理解,那么就写一个单元测试。
It can range from a couple lines of code, to writing a whole new app.
它可能只是写几行代码,也可能是写出一整个新的应用程序。
That adds support for a new data type without changing a line of code.
这样就在没有更改任何代码的情况下添加了对新数据类型的支持。
In fact, the comparison itself can be made with just one line of code.
实际上,比较本身只用一行代码就能够做到。
Every line of code you eliminate is one less place for bugs to sneak in.
每当清除一行代码,也就减少了一个可能隐匿bug的地方。
The first rule of code reuse is that the code needs to be worth re-using.
代码重用的第一规则是代码值得被重用.
Code metrics are a way to mathematically calculate the complexity of code.
代码度量是一种计算代码复杂度的数学方法。
You can perform this transformation without writing a single line of code.
您不需要编写任何代码即可执行此转换。
Even though I haven't written a lick of code yet, it's time to write a test.
即使我还没有编写一丁点代码,但也该编写测试了。
In about a dozen lines of code, you've interfaced with a remote Web service.
在大约十几行代码中,您完成了与一个远程服务的交互。
XQuery benefits developers by reducing the amount of code needed to perform a query.
XQuery给开发人员带来的好处是减少了执行查询所需要的代码量。
We've reworked our bootstrap process to improve the quality of code in the core library.
我们重新构建了引导流程,改进了核心库的代码质量。
Using a framework, you can often solve a complex problem with just a dozen lines of code.
通过框架,解决一个复杂的问题往往仅需几十行代码。
Blank lines improve readability by setting off sections of code that are logically related.
用空行来将逻辑相关的代码块分割开可以提高程序的可读性。
Ideally, every line of code should be read by at least two people: its author, and a reviewer.
理想情况下,每一行代码都要被两个人看过,作者和审核人。
Fortunately there's an alternative form of code generation that applies to many common services.
幸运的是,还有适用于很多常见服务的备用代码生成形式。
Python follows this model, using indentation to separate blocks of code from the rest of the program.
Python遵循这一模型,使用缩进来分隔代码块与程序的其余部分。
Not many programming languages enable you to create such a complex GUI program in so few lines of code.
允许您使用这么少的代码行创建如此复杂的GUI程序的编程语言并不多见。
In open source, much of the collaboration is structured around a very tangible thing: a piece of code.
在开放源码领域,许多协作都是围绕非常具体的东西建立起来的,譬如一段代码。
A widget is a small piece of code that can run within a Web application and display any custom content.
小部件是一小段能够在Web应用程序中运行并显示任意定制内容的代码。
What’s nice is that you can see the resource produced by the URI without having to write a line of code.
根本不需要编写任何代码,就能够看到URI产生的资源,这真的很不错。
应用推荐