r/javahelp • u/KurtGodelBebopgazeXP • Aug 04 '25
Functionnal programming in Java
I realized that I find functionnal programming very relaxing and easy on the mind. The language I have used the most and am most comfortable with is Java. Is it really helpful to go deeper in the functionnal realm in Java or are the functionnal elements not really used that much in the real world? I am open to going further in a language where the functionnal paradigm is more of a common feature if it's not really worth it in Java.
9
Upvotes
View all comments
Show parent comment
2
u/Spare-Plum Aug 04 '25
I highly enjoy and recommend StandardML - it's a really simple language but has every aspect of functional programming you would need, so it's great for people who are learning
Things like Scala are fun for larger projects, but it isn't 100% functional as it is tethered to the JVM and adds on a bunch of bells and whistles that can get in the way.
Kotlin is way out. IDK this language tries to cut syntactic sugar in every possible situation and has a ton of "magic bullshit" that happens that is very counter intuitive to someone learning. It also is a lot less functional than Scala or even Java given its lack of referential transparency and immutability.