Hacker News new | ask | show | jobs
by metaltyphoon 1546 days 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.

1 comments

Very 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.