DRY原则

Posted longchang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了DRY原则相关的知识,希望对你有一定的参考价值。

DRY原则:(don’t repeat yourself): writing code more than once is not a good fit for a lazy developer ;)

It also makes your software more difficult to maintain because it becomes harder to make your business logic consistent。

一句话:别写重复代码

以上是关于DRY原则的主要内容,如果未能解决你的问题,请参考以下文章

DRY原则

DRY原则

使用 DTO 和实体是不是违反了 DRY 原则?

Atitit 深入理解软件的本质 attilax总结 软件三原则"三次原则"是DRY原则和YAGNI原则的折

文档设计也需要坚持DRY原则--支付中心应用部署结构图完善

设计模式之美——DRY原则 和 迪米特法则