News for hackers. Stuff that matters.
Re:Ask HN: What is a modern Java environment? by metaltyphoon on Tuesday March 29, 2022 @12:40PM (#30844913)
> 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.

Re:Ask HN: What is a modern Java environment? by exabrial on Tuesday March 29, 2022 @01:16PM (#30845516)
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.