Re:Attitudes That Lead to Maintainable Code
by Roboprog on Wednesday March 08, 2017 @11:26AM
(#13821279)
Thank you. After 30+ years of programming, I am often completely disgusted at what a bunch of magic filth JEE/Spring is.
The guy(s) who made annotations in Java 1.5 deserves extreme punishment :-)
Re:Attitudes That Lead to Maintainable Code
by AstralStorm on Thursday March 09, 2017 @07:31AM
(#13828806)
Nah, annotations are great when they're used for their stated purpose, that is, annotating code.
They shouldn't have been allowed to actually change runtime behavior or be used to control code generation.
Re:Attitudes That Lead to Maintainable Code
by verelo on Wednesday March 08, 2017 @11:18AM
(#13821238)
Sorry, the use of the word 'common' was a poor choice [and I'm actually not sure what would be a better choice]. I agree with you wholeheartedly. I honestly find a lot of those common methods very confusing.
Often times, the most common methods are the most obfuscated and unclear.
Maybe this is my perspective just because I am a Java developer. Pulling in lots of poorly understood dependencies. Depending on annotations that change execution flow in complex ways that are very difficult to follow, even with a sophisticated IDE. Deploying into complex web containers. ORMs mapping method calls into who knows what SQL calls. Lots of superfluous mutable state everywhere.
(I'm looking at you Spring. Although Spring Boot is a definite improvement.)