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

> in my current language of choice, C++, DI is nowhere to be found

STL, for example when passing explicit allocators. You can even call any higher order function using dependency injection.

And of course there are C++ codebases that look like Java - the pattern book works with C++ too.



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

Search: