Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> This is not at all the definition of Dependency Injection.

Re-read fleitz message. He never stated what he believed DI to be but what he believes DI to be used for.

> I also think it's wrong to conflate DI with XML.

Which, again, is not what he said at all.



To be honest, I didn't really understand what he was trying to say, but I am certain that the first two problems he mentions are not what DI is intended to solve.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: