ended8월 20일· 1 sources
INTERFACE SEGREGATION PRINCIPLE
Why it matters
No class should be dependent on methods it doesn't need. An example would be a "Machine" interface that forces the print() , scan() , and fax() methods. Not every machine has these 3 methods. So we cr...
1
Sources
+0
24h
—
Growth
31d
Active