Open in app
Nicklas Millard
2.4K Followers
About

Sign in

2.4K Followers
About
Open in app
The title of this is misleading.
1

Adam Hughes

Nicklas Millard

Nicklas Millard

·Jan 1

Hi Adam,

Thanks for taking the time to read my article.

The title is spot on. DI does make developers lazy.

It'd be a lot more cumbersome to have a class instantiating all of its own dependencies.

More from Nicklas Millard

Tech writer with 701K+ views. Sharing my opinion and what I learn. Danish C# backend engineer in FinTech. Ex Big4 senior tech consultant.

More From Medium

How to Piss Off a Developer

Nicklas Millard in Level Up Coding

Write Shameless Garbage Code

Nicklas Millard in Level Up Coding

If-Else Is a Poor Man’s Polymorphism

Nicklas Millard in Level Up Coding

Yes, Your Code Need Comments

Nicklas Millard in Level Up Coding

Dependency Injection Makes You Incredibly Lazy

Nicklas Millard in Level Up Coding

The Best Advice for Delivering Better Software (From My Mentor)

Nicklas Millard in Better Programming

Simple Strategy Pattern Using Attributes

Nicklas Millard in Level Up Coding

Do You Write Dishonest Methods?

Nicklas Millard in Level Up Coding

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store