Alyaa Talaatalyaatalaat28.hashnode.dev·Oct 12, 2024Strategy Design Pattern – Head First ApproachThe Strategy Pattern is one of the most popular design patterns because it allows you to define a family of algorithms, encapsulate them in different classes, and make them interchangeable. According to the book Head First Design Patterns, the strate...Discuss·1 like·48 readsdesign patterns
JESCY QUERIMITjavaroapex.hashnode.dev·Sep 4, 2024Strategy Pattern using ApexIntroduction In this article, we will discuss what a strategy pattern is and how we can use it to implement scalable customization in Salesforce. The strategy pattern is one of the behavioral patterns in object-oriented programming. This design patte...Discuss·2 likes·37 readsStrategyPattern
Quang Phanquangphan.hashnode.dev·Aug 2, 2024Strategy Pattern via Dependency Injection.In my last article, I discussed how to implement a Strategy Pattern to calculate the rental pricing for different book types using the Func Delegate feature. In this article, I will demonstrate how to achieve the same functionality by replacing the F...Discuss·1 like·109 readsDesign Patterns in .NET Core..NET
Quang Phanquangphan.hashnode.dev·Aug 1, 2024Strategy Pattern for Calculating Book rental price.In our previous article, we employed the Factory Pattern to create different types of books. In this article, we want to implement a system where the book rental price can be set differently for each book type. We want to achieve this in a way that a...Discuss·89 readsDesign Patterns in .NET Core.StrategyPattern
Venu Madhav Emmadivenumadhavemmadi.hashnode.dev·Jun 15, 20243.2 - Strategy Pattern: A Behavioral Design PatternsWhen designing complex software systems, it is crucial to maintain flexibility and reduce tightly coupled code. Behavioral design patterns help us achieve this by defining how classes and objects interact with one another. Among these patterns, the S...Discuss·2 likesDesign Patterns in Software Engineeringdesign patterns
Vishal Yadavninjacatcodeblogs.hashnode.dev·May 6, 2024Making Factory Pattern Extensible using Java ReflectionsIntroduction In the realm of software development, maintaining code that is both extensible and robust against frequent changes can be challenging. The Open/Closed Principle, a core tenet of SOLID design principles, states that software entities shou...DiscussJava
Forex newsalertforexnewsalert.hashnode.dev·Apr 10, 2024Utilizing Technical and Fundamental News Analysis in Trading Bot DevelopmentUtilizing both technical and fundamental news analysis can enhance the development of trading bots and improve their performance. By combining these two approaches, you can gain a more comprehensive understanding of market dynamics and make more info...Discussfundame
Vlad Verpetablog.vladverpeta.com·Feb 11, 2024Symfony compiler pass - Strategy pattern: how to write code that is SOLID compatibleWe constantly attend job interviews where questions about SOLID principles are mandatory. After that, there are usually a couple of questions about design patterns. The candidate may believe that they have finally found a company where these principl...Kelly and 1 other are discussing this2 people are discussing thisDiscuss·4 likes·529 readsPHP
Preetham Yeddulawiser.hashnode.dev·Feb 6, 2024A Glimpse on Strategy PatternDefinition : This is used when there are a group of algorithms that can be used interchangeably without the caller bothering about the implementation. Example Let's take scenario where the task is implement a Car in game. Requirement : can be of typ...Discusscomposite-desing-pattern
Ian Carsoniancarson.hashnode.dev·Nov 27, 20235 must Know Design Patterns.Design patterns are critical components that require time and lots of effort to get them right. Every application and system will ultimately require scaling and in almost all instances, they will require refactoring. That is why design patterns are q...Discussdesign patterns