Functional Programming? Don’t Even Bother, It’s a Silly Toy(functional.works-hub.com) |
Functional Programming? Don’t Even Bother, It’s a Silly Toy(functional.works-hub.com) |
People probably assume it's the same with FP, ie you have to do EVERYTHING as FP whereas in fact with current mainstream languages (eg JS, C#) you can just drop in bits of FP whenever you feel it is appropriate. It's a tool in the toolbox, not the entire toolbox.
A particular weakness w/ type erasure in Java is that you can only implement a Function<A,B> and if you want to bundle closely related functions together into an object you can't also implement Function<C,>.
some responses treat as serious, others consider clickbait
https://news.ycombinator.com/item?id=20592774 https://news.ycombinator.com/item?id=20582004 https://news.ycombinator.com/item?id=20565024 https://news.ycombinator.com/item?id=20561136 https://news.ycombinator.com/item?id=20554229