The interface Segregation Principle is one of the fundamental principles of the SOLID principle. It says to keep the interface as small as possible. In the words of Uncle Bob, keep interfaces small so that classes don’t end up depending on things they don’t need. A client ( class) should not be forced to implementContinueContinue reading “Interface Segregation Principle in TypeScript”
Tag Archives: SOLID
Video: Learn Software design – Open Closed Principle
Source Code on GitHub https://www.youtube.com/watch?v=Z_VuxB5guuA&feature=youtu.be Source Code on GitHub
Single Responsibility Principle in C-Sharp: Simplified
Let us start with understanding what is SRP? Single Responsibility Principle says every class should have single responsibility and all the responsibility should be encapsulated in the class. To explain it further assume you are creating a creating class to Calculate Salary. Now if you have two methods in class like below. Usually we canContinueContinue reading “Single Responsibility Principle in C-Sharp: Simplified”