DEV Community

loading...

Discussion on: Spring Boot: Strategy Design Pattern - Convenience and Limitation

Collapse
jouo profile image
Jashua

Thanks for sharing, Karl!

I have a question if you don't mind, is the Strategy pattern an implementation of the Dependency Inversion principle?

Collapse
khmarbaise profile image
Karl Heinz Marbaise Author

Not that I know. Just a design pattern mentioned in en.wikipedia.org/wiki/Design_Patterns ... maybe a little bit based on the part where an interface is used en.wikipedia.org/wiki/Dependency_i...