3 ms·
What baffles me is this: Why does such a (conceptually) simple thing require such a hairy implementation?
by amelius 12y ago
What baffles me is this: Why does such a (conceptually) simple thing require such a hairy implementation?
- cheez 12y agoC++
- TillE 12y agoIs it conceptually simple? The examples demonstrate behavior that would be pretty impressive even in a dynamic language. Obviously the trivial form of dependency injection (just pass a parameter manually) requires no special library.
- matt42 12y agoI am not aware of simpler DI implementations running during the compilation. But I agree that C++ meta programming is often hard to read...