Coding Blocks cover image

Design Patterns Part 1 – You Create Me!

Coding Blocks

00:00

Singleton Anti-Patterns - Is There a Place for It?

The infamous singleton pattern is a way to create objects that can be instantiated multiple times. The big draw is that they know how to create themselves, so you don't have to configure these guys and create them. There are other ways to kind of create singletons without actually specifying it in that class. We talked about factory factories, builders, prototypes with the whole kind of weird bullet thing,. And then we talked about the infamous singletonpattern.

Play episode from 01:24:12
Transcript

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