2Cents

Personal thought by Abhishek Prakash
A platform to share my thoughts

S.O.L.I.D: Open/Closed Principle

March 25, 2020

The Open/Closed Principle (OCP) is the SOLID principle which states Software entities (classes, modules, functions, etc.) should be open for extension but closed for modification.

S.O.L.I.D: Single Responsibility Principle

March 25, 2020

In programming, the Single Responsibility Principle states that every module or class should have responsibility for a single part of the functionality provided by the software.