Remix.run Logo
jatins 5 hours ago

> In the mean time modern "functional" (or "monadic") style java is a chained mess with ridiculously long lines.

I have seen many devs that prefer the Java imperative style over more functional chained style. Could be an outcome of leetcode style interviews or that most CS programs start with C/python/Java style languages but it's not uncommon to see that preference especially among junior devs

bvrmn 4 hours ago | parent [-]

The funny thing real functional languages doesn't use dotted chains. It's quite a stretch to try to make something functional without adequate syntax support. Java streams really make things a more difficult than it should be.