What are S.O.L.I.D principles in programming?
SOLID is an acronym for five object-oriented design principles. S – Single responsibility principle O – Open-closed principle L – Liskov substitution principle I – Interface segregation principle D – Dependency Inversion Principle The intention behind these five principles is to promote flexible, understandable and maintainable code. The Single Responsibility Principle asserts that a class…