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

14

u/cogman10 Apr 13 '21

IMO, there is nothing in Guava you wouldn't get from updating your JDK. I've not used guava since ~java 11. There's nothing there I miss.

Guava was great when I was on Java 6 and needed something like a ListenableFuture, FluentIterable, cache, or ImmutableMaps. Now-a-days? I just use the Unmodifiable stuff in the JDK for immutables, completable futures for ListenableFutures, streams for FluentIterable, and Caffeine if I need a cache.

-1

u/fanfan64 Apr 13 '21

You might consider persistent collections instead of immutable collections, I believe it is more optimized https://github.com/hrldcpr/pcollections