4 ms·
By writing XML config files? (or is that just a Struts wart rather than an intrinsic part of DI?) Anyway - if mocking for tests is the major benefit of DI then
by andybak 16y ago
By writing XML config files? (or is that just a Struts wart rather than an intrinsic part of DI?)
Anyway - if mocking for tests is the major benefit of DI then there some other simpler ways to that. Everything I've read on DI makes it sound like a fairly complex beast.