Read Time:34 Second
SOLID principles are good development practices that make your software more understandable, flexible and mantanable.
S stands for Single responsibility principle: Basically try not to make god objects or objects that do a whole lot of things that are not related to each other . A class should have one single responsibility.
Break into multiple classes if necessary. Each class should have reason to exist on its own.
DRY stands for do not repeat yourself. Do not copy yourself multiple times. Import reusible functions wherever it is possible. Avoid duplication in diagrams, database schemas and all other places where it is possible. There should be a single source that should be referenced everywhere.
About Post Author
Shubhankar Singh
๐ Shubhankar Kumar Singh
๐ Full Stack Web Developer & Designer
๐ JavaScript Enthusiast for Front-End & Back-End
๐จ Passionate about Beautiful UI/UX