Dont Repeat Yourself.
Keep is Simple, Stupid.
You Ain't Gonna Need It. 你不需要它 ( 不试图添加你认为以后可能需要的代码,适可而止 )
S.O.L.I.D
SRP
OCP
LSP
ISP
DIP
Dont Repeat Yourself.
Keep is Simple, Stupid.
You Ain't Gonna Need It. 你不需要它 ( 不试图添加你认为以后可能需要的代码,适可而止 )
S.O.L.I.D
SRP
OCP
LSP
ISP
DIP