在用某些编程语言编写代码时,缩进是样式的重要部分,可以确保代码的可读性更好。
When writing code in certain programming languages, indentation is an important part of the style to ensure that the code is more readable.
可以编写类似的代码或者插件程序,将您自己流化的或者复杂的日志转换为格式良好的HTML文件,从而获得更好的可读性和易用性。
You could write similar code or a plugin to convert your own streamed or complex logs into well-formatted HTML files for better readability and easier use.
有许多不同的代码编写约定,但它们的目的都是改善代码的可读性和可靠性。
The aim of coding conventions can be many and varied, but typically, conventions are established to improve readability, extensibility, and reliability of the code.
在适应了lambdas和closures以后,您可能会发现,通过编写您自己的高阶函数您已经减少了代码并创建了更多的可读与可用代码。
After becoming comfortable with lambdas and closures, you may find yourself reducing code and creating more readable and reusable code by writing your own higher-order functions.
Groovy的高级语言语法和特性(见参考资料)让我们能够编写出可读性更好的代码,在与组合方法和SLAP等补充技术相结合时尤其如此。
Groovy's advanced language syntax and features (see Resources) make for more readable code, especially when combined with the complementary techniques of composed method and SLAP.
尽管有许多天才perl程序员,他们编写可靠和可读的代码,但他们并不常见。
Although there are many talented Perl programmers who write well-documented and readable code, these folks aren't as common as they could be.
jQuery最有趣的特性之一是 “链接性”,它能够将一系列函数集中起来,改善可读性和简化代码的编写。
One of the most interesting features of jQuery is its "chainability", its ability to put together a series of functions in order to improve readability and ease coding.
如果你正在编写基于机器可读契约(如wadl文档)的服务器端代码和客户端代码,编码流程可能如下。
If you are writing the server-side code and the client-side code based on a machine-readable contract such as a WADL document, the coding flow may be as follows.
当使用Ruby语言定义业务逻辑或者数据时,常有可能使用内部DSL来编写更加简练并且可读性更强的代码。
When defining logic or or data in Ruby, there is always the possibility of using an.
这样做不但减少了程序的代码,提高了程序的计算速度,而且使计算程序的编写更加容易,增加了程序的可读性。
In this way, it not only reduces the amount of codes and improves the speed of computing, but also simplifies the programming process and makes the programmes more readable.
这样做不但减少了程序的代码,提高了程序的计算速度,而且使计算程序的编写更加容易,增加了程序的可读性。
In this way, it not only reduces the amount of codes and improves the speed of computing, but also simplifies the programming process and makes the programmes more readable.
应用推荐