
Design Patterns Part 1 – You Create Me!
Coding Blocks
00:00
Is There a Singleton in Java?
There's at least a half dozen different ways on how to implement a singleton, right? So like logging is one example that might be given. You just have the one logger, or log reference that's handling all of that IO and you're just trusting it to do it for you,. Okay, that could be one example. Well, on top of that also, with your singleton. Go ahead, Froggy. I'm not sure if we really said what singletons were kind of what the point was. But yeah, but why would I want that?Okay, so there's a couple places like, okay, some examples that you might only want one instance of the
Transcript
Play full episode