I stopped reading at XML. Spring hasn't pushed XML configuration for quite a long while (3.0) and some level of Java config has been available since 2.5ish. Spring is on 4.2 with 4.3 (final release) and 5.x coming out next year. Nothing like a bitchfest article from someone living in the past.
Might as well write an article complaining that Java 7 isn't "functional".
Annotations are just xml configuration with a new spin. You magically sprinkle them through your app and they do stuff. Its hard as hell to follow for new comers, its hard to track down later. They break at runtime instead of compile time.
While I agree you're not seeing the effects until runtime, you should absolutely have enough automated tests in your code to capture those breaks early on.
Yeah you should but it doesn't always work out that way. Most codebases I've seen are at best 80% covered or use so much mocking that some runtime errors slip by.
37
u/[deleted] Nov 27 '15
I stopped reading at XML. Spring hasn't pushed XML configuration for quite a long while (3.0) and some level of Java config has been available since 2.5ish. Spring is on 4.2 with 4.3 (final release) and 5.x coming out next year. Nothing like a bitchfest article from someone living in the past.
Might as well write an article complaining that Java 7 isn't "functional".