Comment

Comment by lemagedurage

Another downside of DI is how it breaks code navigation in IDEs. Without DI, I can easily navigate from an instance to where it's constructed, but with DI this becomes detached. This variable implements Foo, but which implementation is it?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton