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.
我们期望能够保持系统的可维护性,因此,我们希望我们的日志方案能够保持代码尽可能的整洁与简单。
In the sample application, you took an unwieldy stylesheet and refactored it into a much smaller and more maintainable piece of code.
在示例应用程序中,您获取了一个笨拙的样式表并将其重构为一段更小更易于维护的代码。
But this appreciation does not necessarily require the code to be readable or maintainable.
但是这种欣赏并不是一定要求代码易读或者简洁。
This technique not only allows for the reuse of common concepts and solutions, but it also speeds up development time and results in more maintainable code.
这种技术不仅考虑到通用概念和解决方案的重用,并且还可以加速开发时间和产生更易维护的代码。
Far more importantly, however, the function does only one-third as many buffer accesses, and the code is much clearer and more maintainable.
不过,更重要的是该函数的缓存访问量只有原来的三分之一,并且代码更加简洁,更加易于维护。
Next, so that the design debt withdrawals can stop, the development team must attain the ability to write more maintainable code.
接下来,因为设计债问题可以停止,所以开发团队必须获取书写更具维护性的代码的能力。
In any programming language and platform, having a set of well-though unit tests, is a commonly accepted practice in order to deliver maintainable code.
不管使用什么编程语言和平台,编写单元测试都是被广为接受的技术实践,以便交付易于维护的代码。
As you can see, by using the "code behind" approach, your code is very concise and maintainable.
如你所见,使用“代码分离”方法,你的代码会非常简明而易于维护。
The use of generics makes your code base much more maintainable, especially as it grows and you turn code elements into reusable libraries.
泛型的使用使您的代码库更容易维护,尤其当代码库不断增长,以及将代码元素转换为可重复使用的库时。
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.
但是我将关注一个我在记录这个播客时所遇到的一个问题:不能够编写干净简洁的代码,这也是程序员们遇到的一个相当普遍的问题。
That said, it's arguable whether the UI is more maintainable now that it lacks linguistic context, and significant portions of the HTML remain embedded in the PHP code.
也就是说,UI现在是否更具有可维护性是有疑义的,因为它缺少语言环境,并且HTML的绝大部分仍嵌入在PHP代码中。
We've taken a look at why pattern matching is important, it helps us build cleaner more maintainable code, and seen how these ideas are extended by active patterns.
我们看到了模式匹配为什么是重要的,它帮助我们构建更清晰更容易维护的代码,并看到了这个思想是如何被活动模式进行扩展的。
Its declarative processing model allows for very maintainable and reusable code.
它的声明性处理模型使代码很容易维护和重用。
Building easily maintainable code in this manner will enable you to debug, fix, and extend your code with lower risk.
使用这种方式构建的易维护代码将降低调试、修复和扩展代码所面临的风险。
The application must be brought closer to the ideal of highly maintainable code, either by improving the code's maintainability, or by replacing it with code that is more maintainable.
程序必须与高维护性的代码离得更近,要么通过改善软件的可维护性,要么通过用更具维护性的代码来替换它。
The team must have the ability and the commitment to write more maintainable code.
团队必须拥有书写更具维护性代码的能力和义务。
One thing developers have come to agree on is that well-written code is maintainable, and the Dependency Inversion Principle is a sure way to design for maintainability.
开发人员所赞同的一点是:编写良好的代码易于维护,依赖性倒置原则是进行可维护性设计的可靠方法。
Is the code organized and maintainable?
“代码便于组织和维护吗?”
Its primary goal is to provide a simple model for building enterprise integration solutions while maintaining the separation of concerns that is essential for producing maintainable, testable code.
其主要目标是在保持关注点分离的同时,为构建企业集成解决方案提供一个简单的模型,该模型对产出可维护、可测试的代码来说是必不可少的。
By building a DSL that encapsulates all the cited above capabilities, you are basically centralizing all data services code, resulting in a highly adaptable and maintainable SOA-based solution.
通过构建dsl来封装上述所有功能,您本质上是在集中所有的数据服务代码,从而产生高度可适应和可维护的基于SOA的解决方案。
But as programs become more complex, recursive programming gives the programmer a better way of organizing code in a way that is both maintainable and logically consistent.
不过,随着程序越来越复杂,递归程序设计能够让程序员以可维护且逻辑一致的方式更好地组织代码。
I do contend that the code developed this way is more maintainable and possible of future growth without ripping everything apart and starting over.
我坚持认为这样开发出来的代码更具可维护性,也为将来的代码增长打下了基础,将来不需要破坏一切再重新开始。
The Dependency Inversion Principle has proved essential for writing high-quality, maintainable, and therefore testable code.
依赖性倒置原则被证明是编写可维护和可测试的高质量代码的必要条件。
Good programmers make it a habit to keep code short, simple, and well-documented so that it's maintainable.
优秀的程序员习惯将代码保持得简短、简单和具有良好的文档记录,以便使其可维护。
The resulting application looks the same (see Figure 1) for both code listings, but I'm sure you'll agree that listing 2 is a much more maintainable method.
两个清单中的代码生成的应用程序看上去完全一样(见图1),但是清单2是一个更容易维护的方法,我相信您也同意这一点。
Remember that the reason for adopting OO habits is to carefully encapsulate change so your code is more extensible and maintainable.
记住采用OO习惯的原因是要谨慎封装更改,这样代码将更具有可扩展性并且更容易维护。
It's still good practice to put the annotation in there; it makes the code more maintainable.
保留这些注释仍然是个不错的做法;可以使代码更易于维护。
Not every project gets a clean SLATE at the end, which is a great equalizer in terms of learning to write maintainable code.
不是每个项目都可以完美地收工,这也就给了你学习写好维护代码的机会。
Its evolving the INTERNAL implementation of the code continuously and constantly refactoring it to be simple and maintainable.
而是持续地改进代码的内部实现,将之重构成简单和可维护的代码。
I wanted my code to be short and maintainable since I would probably be adding additional features to it later on.
我试图使代码短小并具可维护性,因为稍后我还要加入一些其他特性。
应用推荐