不过,当您要实现复杂的要求时,将php嵌入html使代码的简单性尽失。
However, when you have complex requirements to implement, embedding PHP in HTML takes away simplicity from the code.
简单性定义了代码理解和阅读的难易程度。
Simplicity defines the ease of understanding and reading the code.
它的好处—就代码安全和简单性而言,甚至经常就性能而言—是巨大的。
Its benefits - in terms of code safety and simplicity, and often even in terms of performance - are enormous.
简单性:XP建议:在对于过程和编写代码起作用的方面,总是做最简单的事情。
Simplicity: XP proposes that you always do the simplest thing that could possibly work with regard to process and writing code.
这种方法的优点是其简单性:JRE开发人员只需编写代码来处理每种字节码即可。
The advantage of this approach is simplicity: the JRE developers need only write the code to handle each type of bytecode.
XP中简单性的价值建议我团队中的每个人应该在有效的前提下,对代码和过程采用最简单的方法。
The XP value of Simplicity suggests everybody on my team ought to do the simplest thing that could possibly work, both for code and for process.
因此如果框架的用户能通过10行而不是100行代码完成一个功能描述,这才是这个框架简单性的真正体现。
So if you're able to write the same piece of functionality in 10 lines instead of 100 lines you've made huge strides in simplicity.
表1中的代码片段演示了内联方法风格的简单性和易用性。
Table 1 provides a snippet of code to demonstrate the simplicity and usability of inline methods.
从这个意义上讲,重构坚持在一些不太明显,但却具有决定性作用的特征上作文章,例如设计、简单性,以及改善源代码的可读性,便于理解。
In that sense, refactoring insists on some less tangible, but decisive characteristics of software like design, simplicity, improved source code comprehension, readability and alike.
第二种方法破坏了 QBE 方法的简单性,并且导致了如清单9 所示的糟糕代码
The second option pollutes the simplicity of the QBE approach and leads to monstrosities like the one shown in Listing 9
第二种方法破坏了 QBE 方法的简单性,并且导致了如清单9 所示的糟糕代码
The second option pollutes the simplicity of the QBE approach and leads to monstrosities like the one shown in Listing 9
应用推荐