Splitting Large Interfaces Into Smaller Ones Is Easy

added by DotNetKicks
10/27/2020 3:33:25 PM

253 Views

There are so many problems with big interfaces, that is, interfaces with lots of methods. A big interface has a big implementation, a giant class that does lots of stuff. The Interface Segregation Principle tells us that if we have a big interface and different consumers all use different methods, using the same interface needlessly couples those consumers together.


0 comments