Nivedita Kumaritechadora.hashnode.dev·a day agoSOLID Design Principles in Software DevelopmentThe SOLID design principles are a set of five principles that help developers create software that is easy to use, maintain, and extend. S- Single Responsibility Principle(SRP) O- Open/Closed Principle(OCP) L-Liskov Substitution Principle(LSP) I-...1 like·38 readsDepenpdeny inversion principle
Chhakuli ZingareforCreoWis Blogcreowis.com·Jan 31, 2025Single Responsibility Principle in React DevelopmentIntroduction: The First Step in SOLID Principles When building scalable and maintainable software, adopting the SOLID principles is like laying the foundation for a robust structure. These principles guide developers toward creating clean, modular, a...1 likeReact
Soyuliasoyulia.hashnode.dev·Jan 19, 2025[ Java ] Srp와 Ocp목표 : 객체지향 프로그래밍에서 '단일 책임 원칙(SRP)'과 '개방-폐쇄 원칙(OCP)'에 대해 알아보고, 각각의 원칙을 적용한 코드를 살펴보자. 1️⃣SRP ? 한 클래스는 하나의 책임만 가져야한다. 우리는 이를 따르면서 관심사를 분리해야한다. 예를 들어, 다음 코드는 Animal을 정하고 강아지와 고양이에 따라 울음소리가 다른 기능을 함께 갖고있다. 따라서, SRP위반 코드이다. //SRP 위반 코드 public class Animal{...SRP
Borhan Uddincodernex.hashnode.dev·Jan 10, 2025Mastering SOLID Principles in TypeScript for Better Code DesignAbstracted Payment Gateway using Inteface interface PaymentGateway{ pay(amount:number):void } Single Responsiblity Principle (SRP): A class should have only one reason to change or should handle one action Handles logging of payment activiti...SOLID principles
Nurul Islamnuibb.hashnode.dev·Nov 21, 2024Embracing Single Responsibility Principle in iOSOne of the foundational principles of clean code and scalable software design is the Single Responsibility Principle (SRP)—a class should have one, and only one, reason to change. While it sounds straightforward, it often gets overlooked, especially ...1 like·30 readsSOLID principles
Noyon Rahmanblog.noyonrahman.xyz·Nov 6, 2024Understanding the Single Responsibility Principle (SRP) for BeginnersOne of the simplest ways to make your code easier to read, test, and maintain is by following the Single Responsibility Principle (SRP). SRP is a core part of the SOLID principles in software design and is all about giving each function, method, or c...1 like·41 readsSRP
Sohag Hasannotes.sohag.pro·Oct 25, 2024Keep It Simple: Mastering the Single Responsibility Principle in Laravel with Real-World ExamplesSingle Responsibility Principle in Laravel Have you ever walked into a kitchen where one person is simultaneously cooking, washing dishes, taking phone orders, and managing inventory? Chaos, right? This is exactly what happens in our code when we ign...1 like·34 readsPrinciplesSOLID principles
Vedant Phougatevolving-engineer.hashnode.dev·Sep 30, 2024SOLID Principles: Applying Single Responsibility Principle to Real-World Code1. Introduction Ever wondered why you found yourself modifying the same class to accommodate unrelated features? Imagine having a class responsible for processing invoices, but over time, it has become the go to class to fix issues related to databas...279 readsC#
Rishi Bakshirishibakshi.hashnode.dev·Sep 5, 2024FeaturedUnderstanding the Single Responsibility Principle in ReactThe Single Responsibility Principle (SRP) in React emphasizes that each component should have one, and only one, reason to change. This means a component should focus on a single piece of functionality or responsibility. By adhering to SRP, you ensur...83 likes·749 readsMaster Design Patterns In Reactmaster react
Luis Gustavo Ganimiluisgustavoganimi.hashnode.dev·Aug 9, 2024Understanding SOLID Principles: A Guide to Writing Better Code in TypeScriptIn the world of software development, adhering to best practices can significantly enhance the quality and maintainability of your code. One such set of best practices is the SOLID principles. SOLID is an acronym for five design principles that help ...45 readsSOLID principles