wiki

一些设计原则的汇总

几个简单易行的原则DRY. don’t repeat yourself.KISS. Keep it simple, stupidYAGNI. You ain't gonna need itclass design principlesSOLID(wiki, article): SRP, OCP, LSP, ISP, DIP.SRP(wiki, pdf): Single re