3 ms·
I mean the original statemement from the perspective that only certain languages/environments (Java, etc.) propose DI as a solution. E.g. in my current language
by kookamamie 2y ago
I mean the original statemement from the perspective that only certain languages/environments (Java, etc.) propose DI as a solution. E.g. in my current language of choice, C++, DI is nowhere to be found.
- WatchDog 2y agoC++ has constructors doesn't it?
- ReleaseCandidat 2y agoAnd higher order functions.
- ReleaseCandidat 2y ago> 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.