Alyaa Talaatalyaatalaat28.hashnode.dev·Oct 26, 2024Open-Closed Principle – Clean Mobile Architecture by Petros EfthymiouThe Open-Closed Principle (OCP) is a fundamental aspect of software design that guides how to structure components and classes to make your system more maintainable and extendable. What is the Open-Closed Principle? Definition: The Open-Closed Princ...Open Closed Principle
Pedro Rojasswiftandtips.com·Sep 30, 2024Strategy Design Pattern in SwiftHello everyone! A few weeks ago, I shared a demo explaining Integration Tests in Swift. In that demo, I created a Logger that interacts with the flow. While working on it, I realized the code was a great opportunity to introduce you to one of the mos...785 readsdesign patterns
Ganesh Rama Hegdedesignpatterns.hashnode.dev·Sep 1, 2024Singleton Design PatternThe Singleton pattern is classified as a creational design pattern because its primary purpose is to control the creation of objects. Specifically, the Singleton pattern ensures that a class has only one instance and provides a global point of access...1 likeTypeScript
Ganesh Rama Hegdedesignpatterns.hashnode.dev·Aug 24, 2024Open/Closed Principle (OCP)The definition of OCP that I had mentioned in this blog is this: Software entities (classes, functions, modules, or methods) should be open for extension but closed for modification. This allows you to add new functionality without changing existing ...1 likeTypeScript
Nile Bitsnilebits.hashnode.dev·Aug 24, 2024Top 5 Software Design Principles for Building Robust ApplicationsBuilding robust applications requires a strong foundation of solid design principles. These principles guide developers in writing code that is not only functional but also maintainable, scalable, and adaptable to change. In this comprehensive guide,...software design
Ganesh Rama Hegdedesignpatterns.hashnode.dev·Aug 17, 2024SOLID PrinciplesThe SOLID principles are a set of guidelines for designing software that is easy to manage and extend. They were introduced by Robert C. Martin and are often used to guide software development practices. Here's a brief overview of each principle: Si...1 likeTypeScript
Geo J Thachankarygeothachankary.hashnode.dev·Aug 12, 2024Understanding the Open/Closed Principle (OCP) with C#In our previous post, we explored the Single Responsibility Principle (SRP), the first of the SOLID principles, which guides us in writing more maintainable and robust code. In this post, we delve into the second principle: the Open/Closed Principle ...146 readsS.O.L.I.D Principles Using C#SOLID principles
Sean Kimskim.foundation·Aug 10, 2024[TWIL] Week of July 21, 2024Hi builders! I’ve been working on making the profile page public and adding a new feature to it. While diving into the platform’s codebase, I wanted to explore the principles of good code design more deeply. Today, I’d like to share what I learned ab...This Week I LearnedTypeScript
Suhaimi Sulaimansuhaimisulaiman.com·Jun 23, 2024Open-Close Principle: Keep Your Code Fresh and Flexible!Welcome back, fellow coders! Today, we're diving into the Open-Closed Principle (OCP), one of the five SOLID principles that help us write better, cleaner, and more maintainable code. If you're just tuning in, the SOLID principles are a set of guidel...1 like·56 readsSOLID principles
Nicolas Frugoniarchitecturewithnico.hashnode.dev·Mar 29, 2024The beauty of not breaking existing codeAs software developers, we're constantly facing new challenges and requirements that require us to make changes to our code. But as our codebase grows and becomes more complex, making changes can become increasingly difficult and risky. One small mis...SOLID principles