
Design Patterns Part 1 – You Create Me!
Coding Blocks
00:00
How to Recognize Factory Polymorphisms
It's great for the open close principle, right? So now scion is a new company. You can create it, you can create it implement the same interface. And now you're pretty much ready to roll, right? Like this thing can return it back to you without having to go in and touch any of the underlying code. If you ever look through any of their libraries of code, they use factories everywhere,. like almost everything they do is a factory of some sort of factory of another factory.
Transcript
Play full episode