Tag: Design patterns
Design patterns - Strategy
#tech/architecture #tech/programming #design-patterns Design patterns - Strategy Extracts strategy pattern graph Strategy pseudocode References source https://refactoring....
Design patterns definition Refactoring.GURU.
#tech/architecture #tech/programming #design-patterns Design patterns definition Refactoring.GURU. Design patterns are typical solutions to commonly occurring problems in software design....
Factory Method
#design-patterns/factory Factory Method Extracts Factory Method Intent References source https://refactoring.guru/design-patterns/factory-method author Refactoring....
Iterator pattern
#design-patterns/iterator iterator pattern Extracts Iterator pattern intent it is an abstraction to do something with a collection example code iterator pattern with this abstraction you can accept different inventory References source https://refactoring....
strategy pattern graph
#tech/architecture #tech/programming #design-patterns strategy pattern graph [[strategy pattern solution.png]] References position Design patterns - Strategy Position heading...
Strategy pattern intent
#tech/architecture #tech/programming #design-patterns Strategy pattern intent Strategy is a behavioral design pattern that lets you define a family of algorithms, put each of them into a separate class, and make their objects interchangeable....
Strategy pseudocode
#tech/architecture #tech/programming #design-patterns Strategy pseudocode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 // The strategy interface declares operations common to all // supported versions of some algorithm....