by Confusion · 14y ago · 0 comments
Why are these 'scary' code examples used as an indication of what 'functional programming' looks like, instead of entirely reasonable Ruby, javascript or even Java snippets? How is it that proponents continue to fail to make it clear that functional programming can be done, to some extent, in any language and that it still has advantages?
The whole article seemed to me to be a big "waahh this is hard, and looks funny" rather than a serious discussion of the advantages and disadvantages of functional programming.
The Haskell would be much clearer if it wasn't missing a type signature.
These code examples are used by the author of the article to support the point he is trying to make. I imagine these are probably pretty good examples to use for the target demographic of javaworld.