DEV Community

Discussion on: Explain dependency injection like I'm five

Collapse
 
boaz profile image
Boaz

Traditional: Picking what to wear when you get up in the morning.

Dependency Injection: Asking a pants, t-shirt and an hat from a stylist, and he makes sure you look lit AF.

Collapse
 
elenadotnet profile image
Elena.NET

now I need dependency injection in my life

Collapse
 
ben profile image
Ben Halpern

This is gold ๐Ÿ˜‚