There is a certain art form in clean and concise code.
有一定的艺术形式在干净、简洁的代码。
Thinking is clear, concise code, comments clear, but we learn.
思路分明,代码简练,注释清晰,只得大家学习。
For the sake of writing more concise code, you can use JSON to simplify the process.
为了编写更简练的代码,您可以使用JSON来简化过程。
The system user of the sample, the system verification can be used, concise code.
对系统用户操作的样例,在系统验证中可以用到,代码简洁。
I am not as big on long drawn out articles as I am on clear and concise code samples.
我没有像在漫长的,我就清楚简洁的代码示例我的文章。
Using this approach, as Rails does, you get the best of both worlds: concise code with less repetition without sacrificing flexibility.
像Rails那样使用这种方法,您可以两全其美:具有较少重复的简洁代码而不会失去灵活性。
Greenfield development, where a development team starts out with a blank IDE console and fills it with beautiful, concise code is a very small slice in the life of a software application.
绿地开发(greenfielddevelopment)是指开发团队首先开发一个空白的IDE控制台,并用漂亮、简洁的代码填充它,这只是软件应用程序生存期中一个非常小的片段。
But there are scenarios where the application of functional programming concepts can be applied to PHP applications, resulting in code that is simpler, more concise, and easier to understand.
但是,有这样的场景,函数式编程概念应用程序可适用于PHP应用程序,其结果是代码变得更简单、更简洁、更易于理解。
Such DECLARE statements also mean code that is more concise.
这样的DECLARE语句也意味着代码更加简洁。
Smaller, more concise build files are much easier to maintain and understand; in fact, this pattern happens to hold true for code as well.
更小、更简洁的构建文件维护和理解起来要容易得多。实际上,这种模式对于代码而言同样适用。
Also note the continuing pattern of unchecked exceptions, which keeps the code remarkably concise.
还要注意,这里仍然对异常未加检查,这将使代码异常简洁。
As you can see, by using the "code behind" approach, your code is very concise and maintainable.
如你所见,使用“代码分离”方法,你的代码会非常简明而易于维护。
I don't remember why, I just remember that I was amazed at how concise the code was.
原因我不记得了,我只记得我对其代码的简明大为惊奇。
As we continue building out the library, more and more of those features will begin to worm their way in, anywhere that they help make the code more concise and more clear.
随着我们继续构建这个库,只要有助于使代码更简洁、更清晰,越来越多这样的特性将添加进来。
It's clear from the aspect declarations in figures 2-5 that the code style is the most concise approach to working with AOP declarations.
显然,从图2 - 5的方面声明来看,代码风格是处理AOP声明最简洁的技术。
Although you can make the Perl more concise, this code also illustrates how easy it is to manipulate XML in Perl.
尽管还能让这段Perl代码更简洁,但是它已经足以说明在Perl中处理XML是多么容易。
Now, consider the same example written in Groovy, shown in Listing 7, which takes advantage of the more concise syntax offered with code blocks.
现在看一下用Groovy编写的同样的示例,如清单7所示,它利用了代码块提供的更简洁的语法。
They generally cite features that include a flexible and extensible syntax, closures, and how concise and expressive the code can be.
人们总是引证ruby的灵活而可扩展的语法、闭包等特性,以及其代码如何简明和具有表现力。
If you ignore the JUnit-specific code in Listing 2, you can see that the test case is now quite neat and concise.
如果没注意清单2中特定于JUnit的代码,那么您可以看到,测试用例现在变得相当整洁、简练。
Nevertheless, the resulting XQuery code remains concise and does not contain the overhead you'd have when using a different language to process XML.
但是,生成的XQuery代码仍然保持简洁,并不包含使用其他语言来处理XML时将出现的开销。
Some might say that Ruby's syntax is terse, and it's that way with a purpose: this language lets you create concise working code in short order.
有人可能会说Ruby的语法很简洁,这正是它的意图:这种语言使开发人员可以迅速编写简洁的代码。
Knowing that the result of a GPath query is a List, you can make your code even more concise.
知道GPath查询的结果是List之后,您可以让您的代码更加简练。
Build scripts in languages like Groovy or Ruby are more concise and easier to read. There's less clutter, boilerplate code, and your build script can be structured better.
使用像Groovy或者Ruby这样的语言来构建脚本更加简洁、易懂,而且杂乱冗余的代码更少,结构上也更清晰。
Since Python is dynamic typed and has concise syntax for data structures such as list and dictionary, Neo found it usually results in fewer lines of code.
因为Python的类型是动态的,且具有简洁的数据结构语法,比如列表和字典,所以neo发现它通常可以减少代码行。
This is very useful because not only can it keep the Web service code concise, but also it can help to separate the Web service code from any business logic code you already have.
这很有用,因为这样不仅可以保持Web服务代码的简洁,而且有助于从已有的任何业务逻辑代码中分离出web服务代码。
Not only is this more concise, the IDE now checks whether Task in fact has the properties done and date, and offers appropriate code completion.
这不仅更加简洁,而且现在IDE可以检查事实上Task是否拥有done和date属性,并且提供了恰当的代码自动完成功能。
This code is more concise than the equivalent C code in dbus-ping-listen.c and is easier to read.
此代码比dbus-ping-listen.c中相应的 C 代码 更简明,也更容易读懂。
The greatest benefit in PEAK's dispatch package is the possibility it offers for a much more accurate and concise modularization of code.
PEAKdispatch包中最大的优点是可以对模块更精确而简明地进行模块化。
DSLs work nicely for this task because they are concise (containing as little noisy syntax as possible) and readable (even by nondevelopers), and they stand out from more API-centric code.
对于此任务来说,DSL工作是良好的,因为它们很简洁(包含尽可能少的嘈杂语法)并可读(甚至非开发人员也可以阅读),且它们从更多的以 API 为中心的代码中脱颖而出。
Here again I've left out the imports and exceptions to keep the code concise.
这里同样为简洁起见而省略了导入和异常处理语句。
应用推荐