Comment

Comment by gemstones

I'm very curious to hear from someone who likes DI in a non-OOP language - why? What techniques do you use to make the level of indirection feel like a help, rather than a hindrance, in your codebase?

Reading this article reminded me that DI has a lot of advocates, but I've never heard a compelling reason to use it in most codebases.

parent gemstones 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton