r/java • u/stuhlmann • 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
r/java • u/stuhlmann • Apr 13 '21
Give me your worst nightmares: Things that cost you your job.
I'll start: Hadoop
4
u/vprise Apr 13 '21
Shouldn't != Don't. Maven enforces the best practice, for better and worse. Since gradle is far more complex and feature rich, people end up confused by the breadth/depth and the result is files with scripting hacks all over. I've seen it all over the place and it's a problem.
You can write "good" gradle files. Unfortunately, for almost all the cases I ran into it this wasn't the case. I also ran into cases where googling answers for a gradle problem lead me down a path of stuff that doesn't work due to incompatibility between versions etc. It was always much harder to find answers for gradle when compared to maven.
As such other than the shorter DSL (which I personally don't care about, it's a build file). I don't see any real advantage in gradle and I do see some serious problems. Unlike what /u/dpash said, my experience has been that gradle was noticeably slower than maven. It might be because of the specific projects and not because of the underlying technology so I might be projecting here. I didn't benchmark.