Hi Michał Płachta, everyone.
Great to see another
Grokking series book.
In the book introduction, you wrote "functional programming and writing maintainable software". As probably many of us, I've seen some unmaintable lambdas in my life. Code so convoluted, that it could be considered an entry for Obfuscated Code Contest.
What measures can be taken to enforce functional programming bits written in a readable way, promoting conciseness while still benefittng from the new paradigm?
It also seems that many enter this brave new world, but not everyone stay. Especially in
java, some early adopters tend to write as much lambdas as they can, but later they withdraw and try to find balance. Repositories around the world could tell a lot about this kind of evolution. What course should be taken here for junior developers - should they be encourage to write as much FP as possible?
Do you have any hints that tackle this?