28 March 2018

naming - Why is Inversion of Control named that way? - Software Engineering Stack Exchange

"Fowler, and others, decided that the term Inversion of Control covered too many techniques and we needed a new term for the specific example of instantiation of objects (Dependency Injection) but, by the time that agreement had been made, the phrase "IoC Container" had taken off.
This muddies the water a lot, because an IoC container is a specific kind of Dependency Injection, but Dependency Injection is a specific kind of Inversion of Control. This is why you're getting such confused answers, no matter where you look."
 -https://diigo.com/0brgtt

'via Blog this'

No comments: