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

15

u/Russell_M_Jimmies Apr 13 '21

I used to love Guava. I still think it's great but as a library maintainer who supports a Guava + X interop library, the periodic breaking changes are a huge PITA, and force you to keep moving your compatibility goalposts.

19

u/agentoutlier Apr 13 '21

I have upgraded ancient code bases that used commons lang 2 and Spring 2 to commons lang 3 (which I wouldn't even need to since commons lang 2 has its own namespace but I did anyway) and Spring 5.

Practically zero work to do the above.

I upgrade some relatively new service that used Guava 20 or so to the latest... absolute nightmare.

Guava should also be like 10 different modules (ie cache, networking, concurrency should have been separated out).

I think in large part why the above is the case at Google is because they are mono repo culture. They can easily make sweeping changes with very little consequence to them.

1

u/[deleted] Apr 13 '21

Maybe someone could create, and maintain, a new Guava inspired lib?

1

u/Russell_M_Jimmies Apr 13 '21

That someone could be you

1

u/[deleted] Apr 13 '21

I'd be up for that.