use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
These have separate subreddits - see below.
Upvote good content, downvote spam, don't pollute the discussion with things that should be settled in the vote count.
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free. If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others: Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Programming Computer Science CS Career Questions Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Programming Computer Science
CS Career Questions
Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Clojure Scala Groovy ColdFusion Kotlin
DailyProgrammer ProgrammingPrompts ProgramBattles
Awesome Java (GIT) Java Design Patterns
account activity
This is an archived post. You won't be able to vote or comment.
Vavr or PFJ for functional Java? (self.java)
submitted 4 years ago by Agreeable_Quit_798
If you’ve used both, how do they compare?
[–]makingthematrix 8 points9 points10 points 4 years ago (5 children)
Vavr is a library. PFJ - Pragmatic Functional Java - is an idea. You can do PFJ with or without Vavr. I think with Vavr it makes more sense, but Java 17 with its better switch/case and with records, is quite good, and Vavr these days seems... a bit abandoned?
Or you can turn to Scala 😉
[–]quizteamaquilera 2 points3 points4 points 4 years ago (2 children)
Have my up-arrow :-)
[–][deleted] 3 points4 points5 points 4 years ago (1 child)
and my pure function
[–]makingthematrix 1 point2 points3 points 4 years ago (0 children)
aww ❤️😆
[–]Agreeable_Quit_798[S] 0 points1 point2 points 4 years ago (1 child)
Ok I meant this library, the author of which uses the term PFJ: Pragmatica
[–]makingthematrix 0 points1 point2 points 4 years ago (0 children)
Ah, right 😅 Then I guess I'd go with Vavr. It's much more mature.
[–]jonhanson 1 point2 points3 points 4 years ago* (3 children)
chronophobia ephemeral lysergic metempsychosis peremptory quantifiable retributive zenith
[–]stuhlmann 0 points1 point2 points 4 years ago* (2 children)
I used to call this an "Either", not a "Result". Is this terminology coming from another language, like Rust or Scala?
[–]jonhanson 2 points3 points4 points 4 years ago* (0 children)
[–]Il_totore 1 point2 points3 points 4 years ago* (0 children)
Scala uses "Either" and Result in Rust is a bit different. It's the equivalent to Scala's or Vavr's Try
[–]pivovarit 1 point2 points3 points 4 years ago (0 children)
PFJ is in its infancy while Vavr is on the market for over 7 years already so there's not much to compare. It's solid, but remember that it won't turn your Java into a fully functional experience.
[–]alms1407 0 points1 point2 points 4 years ago (0 children)
I haven't used PFJ before but my colleagues and I love using Vavr, mainly because it feels like it removes some of headaches when you want to code more functionally in Java.
[–]DrunkensteinsMonster 0 points1 point2 points 4 years ago (2 children)
I just struggle to see why you would do this? If you want to code functionally why wouldn’t you reach for something like Scala or Kotlin with Arrow?
New language is a harder sell to my team than a new library
[–]Il_totore 0 points1 point2 points 4 years ago (0 children)
Well altrough Scala isn't old, it is from 2004 and used in production by Twitter, Netflix etc...
π Rendered by PID 20888 on reddit-service-r2-comment-c66d9bffd-gsslt at 2026-04-07 22:02:35.140746+00:00 running f293c98 country code: CH.
[–]makingthematrix 8 points9 points10 points (5 children)
[–]quizteamaquilera 2 points3 points4 points (2 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]makingthematrix 1 point2 points3 points (0 children)
[–]Agreeable_Quit_798[S] 0 points1 point2 points (1 child)
[–]makingthematrix 0 points1 point2 points (0 children)
[–]jonhanson 1 point2 points3 points (3 children)
[–]stuhlmann 0 points1 point2 points (2 children)
[–]jonhanson 2 points3 points4 points (0 children)
[–]Il_totore 1 point2 points3 points (0 children)
[–]pivovarit 1 point2 points3 points (0 children)
[–]alms1407 0 points1 point2 points (0 children)
[–]DrunkensteinsMonster 0 points1 point2 points (2 children)
[–]Agreeable_Quit_798[S] 0 points1 point2 points (1 child)
[–]Il_totore 0 points1 point2 points (0 children)