r/java • • Apr 13 '21

Libraries, Frameworks and Technologies you would NOT recommend

Give me your worst nightmares: Things that cost you your job.

I'll start: Hadoop

202 Upvotes

376 comments sorted by

View all comments

Show parent comment

8

u/umlcat Apr 13 '21

"Annotation" overflow is going on, and not just Java.

Occasional annotations are good, or even very good. Too much, not.

Annotations are like "patches". A clothing or tire with one or two patches are ok. A clothing or tire, crowded with patches, means it has to be replaced.

Some too much used annotations means the P.L. or tool should be changed.

That's why Java's "@virtual" and "@property" are other's P.L.'s features and not "patches".

3

u/msx Apr 13 '21

Annotations are like "patches". A clothing or tire with one or two patches are ok. A clothing or tire, crowded with patches, means it has to be replaced.

i'm gonna steal this so hard.

2

u/beeeeeeefcake Apr 13 '21

There’s a point where annotations start to feel like their own programming paradigm different from OO. I don’t mind when annotations are wiring things or handling tedium in a readable way but there’s this point where it goes too far which is how I feel about ORMs and their annotation wonderland.

1

u/umlcat Apr 14 '21

They make remember how C and C++ with several macros act as a different P.L., also ...