4 ms·
"Please write maintainable code using common and broadly understood methods." Often times, the most common methods are the most obfuscated and unclear. Maybe
by jimbokun 10y ago
"Please write maintainable code using common and broadly understood methods."
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.)
- deleted 10y ago[deleted]
- verelo 10y agoSorry, 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.
- Roboprog 10y agoThank 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 :-)
- AstralStorm 10y agoNah, 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.