MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/3uhywt/why_i_hate_spring/cxftf0h/?context=3
r/java • u/[deleted] • Nov 27 '15
76 comments sorted by
View all comments
Show parent comments
8
So did the xml though. They're not immune to static analysis, it's all static final. Just no one's made a good tool for it.
I just like not having to keep two files open.
1 u/superPwnzorMegaMan Nov 27 '15 Scala has compile time checks for dependency injection. This article describes three methods without using a library. 5 u/Scaryclouds Nov 27 '15 That's an issue with Java and its tooling, not with Sprig though. It's not as though you could hope to switch between languages over such an issue either (unless you work for a start up). 1 u/GSV_Little_Rascal Nov 28 '15 Dagger provides DI with compile time checks for Java.
1
Scala has compile time checks for dependency injection. This article describes three methods without using a library.
5 u/Scaryclouds Nov 27 '15 That's an issue with Java and its tooling, not with Sprig though. It's not as though you could hope to switch between languages over such an issue either (unless you work for a start up). 1 u/GSV_Little_Rascal Nov 28 '15 Dagger provides DI with compile time checks for Java.
5
That's an issue with Java and its tooling, not with Sprig though. It's not as though you could hope to switch between languages over such an issue either (unless you work for a start up).
1 u/GSV_Little_Rascal Nov 28 '15 Dagger provides DI with compile time checks for Java.
Dagger provides DI with compile time checks for Java.
8
u/squishles Nov 27 '15
So did the xml though. They're not immune to static analysis, it's all static final. Just no one's made a good tool for it.
I just like not having to keep two files open.