One of the most important aspects of writing maintainable code is being able to notice the recurring themes in that code and optimize them.
编写易于维护的代码,其中一个最重要方面是能够找到代码中重复出现的主题并优化它们。
The Dependency Inversion Principle has proved essential for writing high-quality, maintainable, and therefore testable code.
依赖性倒置原则被证明是编写可维护和可测试的高质量代码的必要条件。
When data has a relational structure, data access, storage, and scalability are very efficient, but writing efficient and maintainable code becomes more difficult.
当数据具有关系结构时,其在数据访问、存储和可扩展性方面会非常高效,但编写高效的、可维护的代码则变得非常困难。
When data has an object structure, the trade-offs are reversed: Writing efficient and maintainable code comes at the cost of efficient data access, storage, and scalability.
当数据具有对象结构时,上述关系恰好相反:编写高效的、可维护的代码要以牺牲数据访问、存储和可扩展性方面的高效性为代价。
When data has an object structure, the trade-offs are reversed: Writing efficient and maintainable code comes at the cost of efficient data access, storage, and scalability.
当数据具有对象结构时,上述关系恰好相反:编写高效的、可维护的代码要以牺牲数据访问、存储和可扩展性方面的高效性为代价。
应用推荐