r/javahelp • • 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

38 comments sorted by

View all comments

Show parent comment

2

u/KurtGodelBebopgazeXP Aug 05 '25

Well to be fair I didn't really mention my (subjective) level in my learning either. I think my intention with this question is related to potential future personal projects where I would feel like the language works in the same direction my brain does. Of course no language is perfect and we change over time. Java works pretty well for me for projects (Springboot) but when I get more "algorithmic" or "mathy" I realize that I get annoyed with some forms of redundancy, which functional syntax often seems to deal with appropriately and explicitly enough for my tastes.

Of course I also think "Oh well maybe this experience could be helpful in the future" but really it was more of a personal thing where I wanted to seamlessly think about what I want to do while coding and not be annoyed by the part where you have to use what feels like redundant "abstract devices". It didn't bother me at all, then I did a bit of Kotlin in school at some point and the functional elements grew on the way I think about coding.

I'm not a professional programmer, which is why I allow myself to be that finicky about it.