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。

一句话:别写重复代码

posted @ 2020-05-13 11:16  kissrule  阅读(210)  评论(0编辑  收藏  举报