if you are debugging the behaviour of the JDK itself rather than just looking at what it returns, that feels like you don't really understand what you are trying to debug
I am by no means a FP connoisseur, but I do use a sprinkling and I think of the biggest values is that FP functions are supposed to be "pure" meaning the same inputs will yield the same outputs. These types of functions are easier to test and require less/no mocking. I've seen some people suggest a good application architecture is "functional core, imperative shell" (eg: https://testing.googleblog.com/2025/10/simplify-your-code-functional-core.html).
View all comments
1
u/[deleted] Feb 18 '26
[removed] — view removed comment