News for hackers. Stuff that matters.
Re:The Lone Developer Problem by vbezhenar on Tuesday February 28, 2023 @04:32AM (#34967407)
That's why I hate Spring and similar technologies. They autostart things everywhere. Even from library jars. So terrible.

If I would write Java program for myself, I wouldn't use Spring. I would use dependency injection, but I would construct all objects manually, calling their constructors and setters. I did that, it works, it maintainable. Some repetitive code, but it's so much easier to reason about compared to reflection monsters or autogeneration nightmares.

There are no comments on this comment yet.