loading...

Explain Inversion of Control like I'm five

amit_merchant profile image Amit Merchant ・1 min read

I always find it difficult to understand the topic of inversion of control. Can anyone here explain it in simple terms?

Discussion

markdown guide
 

So, based on this quote from Martin Fowler.

Inversion of Control is too generic a term, and thus people find it confusing. As a result with a lot of discussion with various IoC advocates we settled on the name Dependency Injection.

I'll refer you to this ELI5.

Explain dependency injection like I'm five