The SOLID Principles of programming are a set of rules which when followed during designing and developing an object oriented application, will reap the following benefits. Loosely Coupled Application Easily Extensible application Highly manageable code for maintenance SOLID is an acronym that can be expanded as Below: (I’ll first get into theoretical aspect of it and then clarify it via code) S: Single Responsibility Principle A class should do only one thing . Logically speaking Separation of Concern and separation of responsibility is what we need to differentiate. This principle talks about responsibility not concern. “My responsibility as a developer is to meet deadline and code as per the standards, if the client is not happy, that is none of my concerns ( isn't it soothing…..)” .Same goes with class, it should be doing only one thing at a time, if multiple responsibilities are entrusted to it(imagine you doing job of a co-coordinator, develop...
Let's Share......