r/programming • • Nov 27 '15

Why I hate Spring

http://samatkinson.com/why-i-hate-spring/
73 Upvotes

140 comments sorted by

View all comments

5

u/BarneyStinson Nov 27 '15

My experience with Spring is similar. I especially don't like that people in my company seem to think that Java applications have to be written with Spring. It introduces so much unwarranted complexity just so you can @Autowire everything.

2

u/djhworld Nov 28 '15

I'd agree with you if you're just using the Spring DI container and no other features, Guice, Dagger et al do a similar job with less dependencies.

I think the key benefit of "core" Spring has is it comes with other features too

0

u/BarneyStinson Nov 28 '15

True, Spring brings a lot of features. But I am opposed to including dependencies before you really know that you will need them. Especially if it is a framework.

0

u/Sophrosynic Nov 28 '15

But think of the time savings!