DEV Community

loading...

Discussion on: The 7 most important software design patterns

Collapse
luc45 profile image
Lucas Bustamante

Dependency Injection > Singleton

Collapse
anpos231 profile image
anpos231

Use DI to inject factories and use these factories to create new objects.

Collapse
andreasjakof profile image
Andreas Jakof • Edited

Welcome to my code ... well after I read Clean Code and refactored a lot.

200 Unit Tests and still incoming 😎