How Poorly Designed Software Is Facilitated by Using Dependency Injection and Containers

“I’ll just add one more constructor argument.”

Nicklas Millard
Level Up Coding
Published in
3 min readSep 28, 2022

--

Dependency Injection (DI) and Inversion of control (IoC) often make you do stupid things and let you create poorly designed software.

Dependency Container frameworks such as Java’s Spring Boot or .NET ServiceCollection lets you get away with lazy designs because, when relied upon, you rarely have to think for yourself.

--

--

I mostly write to "future me" sharing what I learn and my opinion on software development practices. youtube.com/@nmillard | open for contracts in Jan 2026.