Hacker News with Generative AI: Dependency Injection

Dependency injection frameworks add confusion (rednafi.com)
When working with Go in an industrial context, I feel like dependency injection (DI) often gets a bad rep because of DI frameworks. But DI as a technique is quite useful. It just tends to get explained with too many OO jargons and triggers PTSD among those who came to Go to escape GoF theology.
What Is Spring Framework? An Unorthodox Guide (2022) (marcobehler.com)
At its core, Spring framework is really just a dependency injection container, with a couple of convenience layers (think: database access, proxies, aspect-oriented programming, RPC, a web mvc framework) added on top. It helps you build Java application faster and more conveniently.