3 ms·
> Java is getting something right that I don't see much elsewhere: Dependency Injection. Combine this with a mocking framework and you can write _actual_ isola
by metaltyphoon 5y ago
> Java is getting something right that I don't see much elsewhere: Dependency Injection. Combine this with a mocking framework and you can write _actual_ isolated unit tests for every single part of your stack
Since dotnet core started this has been front and center in C#. So there are other stacks doing this.
- exabrial 5y agoVery happy to see this. I think it's a great pattern. It pushes functional concepts into code and stuff like state management into the runtime.