So from my understanding spring is just a replacement for new keyword? I don't get it, why do we a need a framework to do new for us? Ok, let's say it is useful. It seems like very basic stuff, why do people require Spring in Java developer description? It is not like it takes years to master it (spring core I mean). It's just an enterprise way to replace new.
They have legacy systems that they want you to maintain.
It’s not very basic stuff - it’s rather convoluted and takes quite some effort to learn. Most companies want people to hit the ground running, they would rather not wait for someone to learn on the job. They’re also mentioned in job descriptions to indicate that proficiency in DI frameworks is expected. It’s one thing to solve leetcode, another to write enterprise grade code. Some companies may use Spring heavily, others not so much, but most require similar framework knowledge. In my personal opinion, over reliance on Spring is burdensome and slows you down. But very few engineers are so good that they can flexibly change architectures as needed. The easier thing to do for an org is to stick to something for a few years and work it out within that framework.
what's so complicated about this DI thing, you give the framework detailed instruction on how to build object for you?
That’s like saying what’s complex about doing machine learning. You give the model detailed instructions on how to make a prediction, that’s all. When you’re writing code involving hundreds of classes, you need to be very clear and careful about the interaction, and you need to know the what the framework provides to make that job easier for you. And there are multiple flavors used by different teams.
You don't understand it. That's ok. Maybe learn it before complaining about it though, otherwise you just look really ignorant.
Op you need to do some googling. You are completely clueless when it comes to Spring.
I’m just here to let y’all know about Lombok
How is that related
Lombok is for people who haven't discovered Kotlin yet
I had to learn the spring framework for a past shitty job and i hated every second of it
Any language or framework done badly will be bad.
Are you referring to Spring as a dependency injection framework/IoC container? Because it does a whole lot more than that, and it probably does take years to master.
Tell me more.
yes, about DI I am talking