4 ms·
The current nightmare of Java programming is Annotation Driven Development. Especially with things like Spring Boot, most of the behavior is driven by sprinkli
by jimbokun 5y ago
The current nightmare of Java programming is Annotation Driven Development.
Especially with things like Spring Boot, most of the behavior is driven by sprinkling annotations, but you can not use your understanding of the syntax and semantics of the Java language to understand what they do. It's just thrashing around trying different combinations of annotations and configuration until something works.
And God help you if you need to debug what's going on if it stops working on some corner case.
- lmilcin 5y agoThis can be stated more generically by saying, that in the past it was possible to tell what a line of code does in Java. This is what you pay for when you bear costs of strong typing -- being able to say what is that thing holding. But that very important valuable feature was squandered over time with the biggest offender being Spring.
- jimbokun 5y agoNow we have the flexibility and conciseness of explicit static typing with none of the run time guarantees!
- jamesfinlayson 5y agoAgreed - I don't mind Spring but just blindly copy+pasting a bunch of annotations to make things work doesn't feel good.