Dikshya Subedidikshyasubedi.hashnode.dev·Sep 20, 2023Open/Closed Principle Explain With An Exampleusing System; public class Fighter { private IWeapon _weapon; public Fighter(IWeapon weapon) { _weapon = weapon; } public void Fight() { _weapon.Attack(); } } public interface IWeapon { void Attack(...DiscussOpen Closed Principle
Swabhav Techlabsswabhavtechlabs.hashnode.dev·Sep 14, 2023SOLID Principles in OOPS.In the world of software development, writing code that is maintainable, scalable, and flexible is crucial. The SOLID principles provide a set of guidelines that help achieve these goals. These principles, coined by Robert C. Martin (Uncle Bob), serv...DiscussSOLID principles
Ankit Poudelankman007.hashnode.dev·Sep 1, 2023Four pillar of OOP in JavaObject-oriented programming is a fundamental programming concept. It is a programming style that organizes software design (code) based on classes and objects, focusing on data rather than functions or logic. OOP was initially introduced to remove sh...Discuss·1 likeJava
John Kamaujohnnyk.hashnode.dev·Aug 14, 2023Object Oriented Programming in PythonObject-Oriented Programming (OOP) is a programming paradigm that organizes code into objects, which are instances of classes. These objects encapsulate data and behavior, allowing developers to model real-world entities and interactions effectively. ...Discuss·10 likes·200 readsOOP Design Principles
Chetan Dattachetan77.hashnode.dev·Aug 13, 2023Single Responsibility Principle (SRP)SRP is part of SOLID design principles. With the help of SRP, we can maintain clean and robust source code. SRP states that only one actor can change the module. In most of the scenarios, the actor corresponds business stakeholder. The module can b...DiscussSOLID principles
Abdulrasheed Abdulsalamtripletech.hashnode.dev·Aug 12, 2023Mastering the Foundations: A Guide to Object-Oriented DesignIntroduction: Object-Oriented Design (OOD) is a crucial part of software development. In this article, you will learn about Object-Oriented Design by exploring its principles, benefits, and best practices. By the end of this article, you will have a ...DiscussOOP Design Principles
Ridaennasry.hashnode.dev·Aug 7, 2023Singleton Design PatternThe Singleton Pattern is a convention for ensuring one and only one object is instantiated for a given class. Why The idea behind Singleton Pattern is that some objects are needed only once. such use cases are objects that handle preferences and sett...Discuss·1 likedesign patterns
Abhishek Jhajhaabhishek.hashnode.dev·Jul 21, 2023Future Proof Your Code with Design Patterns and PrinciplesIntroduction : In the ever-evolving world of software development, one key aspect that separates exceptional software from the mediocre is the thoughtful application of design patterns and principles. These invaluable tools provide a systematic appro...Discuss·2 likes·149 readsdesign principles
Nimra Ahmednimraahmed.hashnode.dev·Jun 26, 2023A PIE - A Refresher on OOP Basics in 7 MinutesAsk any programmer about the 4 fundamental concepts of object oriented programming, and they'll list A PIE - Abstraction, Polymorphism, Inheritance, and Encapsulation - without a moment's hesitation. After all, these are the core principles of OOP. Y...Discuss·1 likeThe Object-Oriented Odyssey: Exploring Design PatternsObject Oriented Programming
LHAMIDI Marouanemarouanelhamidi.hashnode.dev·Jun 6, 2023Exploring the Fundamentals of object-oriented programming with JavaToday, we will continue exploring the fundamentals of object-oriented programming with Java. In the previous parts, we covered the concept of Encapsulation, including what it is and the role that access modifiers play in achieving encapsulation. Howe...Discuss·10 likesMastering Java: A Complete Guide to Java ProgrammingJava