That is very important because the clean code, and ability to alter presentation, means that your site can be viewable by someone on a small mobile phone screen.
因为代码的精简是如此的重要,它可以随意的控制内容的表达方式和位置,因此,即使是在一个手机屏幕上,也可以很轻松的展现你的网页。
This speaks volumes about the need for clear code with good variable names and clean design on a long-term project.
这个事实清楚地证明:长期项目需要那些拥有良好变量名和干净设计的清晰代码。
I hope this article has gotten you to think about the value of clean code in your systems.
我希望这篇文章已经让您开始考虑干净代码对您系统的重要性。
Is the code it generates natural, clean, consistent and efficient?
生成的代码是否自然、干净、一致且高效呢?
But I would like to focus on an issue that arose while I was recording the podcast: programmers' all too common inability to write clean, maintainable code.
但是我将关注一个我在记录这个播客时所遇到的一个问题:不能够编写干净简洁的代码,这也是程序员们遇到的一个相当普遍的问题。
Clean code goes into the same category as process when it comes to things we can drop if we have to.
当我们不得不丢掉一些东西的时候,干净的代码也属于这个范畴的过程被我们丢弃。
If the designer implements his own designs, he is beholden to two different goals: Clean code and great user experience.
如果设计师实现自己的设计,他会受制于两个不同的目标:代码的整洁和良好的用户体验。
When we clean up the code, the cleanup we make will only pay off at some future time.
在清理代码的时候,我们为之付出的努力只有在将来才能受益。
The cleaning personnel enters a code to signal that the room is clean.
清扫人员输入一段代码通知系统该房间已被清扫完毕。
So the code is "clean and green," according to my simple unit test case — but that's meaningful only if I'm really testing the code thoroughly.
根据前面简单的单元测试用例,这块代码是“干净,绿色”的——但只有在我真正彻底地测试这块代码的情况下这才有意义。
Some of the properties of clean code depend upon the specific programming language.
有些是干净代码的属性取决于特定的编程语言。
The core code is clean and easy to extend, and the user interface is very easy to use.
核心代码很干净而且容易扩展,用户界面也非常容易使用。
I know it's gotten me thinking about ways we might measure the value of clean code.
我也认识到我们应该寻找测量干净代码价值的方法。
There's nothing in the statement that rewards clean code.
没有任何关于干净代码的奖励。
The language you choose should provide you with a suitable "comfort" level, the ability to produce efficient (and clean) code, and, above all, allow the language to suit the project and vice-versa.
你所选择的语言,你应该觉得“舒服”,并且能够写出有效(而且简洁)的代码。最重要的,让语言去适应项目,反之亦然。
Clean separation of front ends, like JAX-WS, from the core code.
从核心代码干净地分离前端,如JAX - WS。
The code is clean, the build process is simple, and the documentation is clear.
它的代码整洁、构建过程简单、文档清晰。
The Agile community picked up on the value of keeping your code clean as a part of following their principles, one of which is.
Agile社区会挑选出保持干净代码的价值来作为他们原理的一部分,其中原则之一是。
If the code is clean enough, this sort of commenting should be sufficient.
如果代码足够清晰,如上所示的注释应该就已经足够。
Our desire is to keep the system maintainable, and therefore we want our logging approach to keep the code as clean and simple as possible.
我们期望能够保持系统的可维护性,因此,我们希望我们的日志方案能够保持代码尽可能的整洁与简单。
As you can see, the end result is some very clean, readable, and easy to maintain code.
如您所见,最终结果是一些非常干净、可读性强、且容易维护的代码。
With automated migration, teams can regularly perform dry runs that deploy the code into a clean "production class" environment, where automated unit and system-level tests may be executed.
在自动化移植中,团队可以将代码转入干净的“生产级”环境,在那里可以执行自动化的单元和系统级测试。
Don't hesitate to go with the slightly less clean looking code if that code makes more sense from a correctness and performance point of view.
如果那些稍微比较不整洁的代码从正确性和执行来讲更有意义,我们也要毫不犹豫的去选择它们。
Ignore any errors regarding undefined methods because these errors clean up once the remainder of the code is added.
忽略有关未定义方法的错误,因为添加其余的代码后将清除所有这些错误。
It's the best way to keep your code clean, which keeps it easy to change over time.
这是保持代码整洁的最佳方式,用这种方法设计的代码总是很容易修改。
Code Cleanup works in batch mode, so that you can instantly clean the whole project or even solution.
可以在批模式下进行代码清理工作,所以可以即刻对整个项目甚至解决方案进行清理。
You might try to clean up this code a bit by packaging the key lookup code in a named template.
您可能希望将键查找代码打包在指定模板中,使代码更加清晰。
The adapter pattern is a nice way to clean this type of code up and reuse all your assignment code in other places.
适配器模式是整理此类代码并在其他位置重用所有赋值代码的优秀方法。
When the existing code in a method or class is difficult to read, the next developer who works on it feels less compelled to write clean code himself.
当一个方法或类中存在一些难读的代码,下一个开发人员继续这些工作的时候,就觉得他也没有必要迫使自己编写清晰的代码。
When the existing code in a method or class is difficult to read, the next developer who works on it feels less compelled to write clean code himself.
当一个方法或类中存在一些难读的代码,下一个开发人员继续这些工作的时候,就觉得他也没有必要迫使自己编写清晰的代码。
应用推荐