DEV Community

Discussion on: Code Smell 32 - Singletons

Collapse
yoursunny profile image
Junxiao Shi

How is GodFactory supposed to be used if it always throws?

Collapse
mcsee profile image
Maxi Contieri Author

Hi. I changed the example and removed factory usage since I think it was a bit confusing