Coding Blocks cover image

Design Patterns Part 1 – You Create Me!

Coding Blocks

00:00

The Factory Patterns - What You Need to Know

The factory method is the same type concept you call a factory. But inside that factory, they are subclassing an abstract class. You can have like a magic maze implement those methods in them. And then when the factory method is called to, in your example, make room, that would be an overwritten room,. correct, overwritten method, that returns a turn back a different object.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app