|
|
|
|
|
by trbvm2
3919 days ago
|
|
The latter. DI frameworks are a convenience item, they should probably not have a big effect on the way the code is written.
You get most of the benefits of DI just from not new'ing up things within your classes. The main advantage of keeping the constructors around is that you retain more flexibility in interacting with that bit of code. |
|