Hacker News new | ask | show | jobs
by ubertaco 3499 days ago
I dunno; I think the bottom line of this page is that functional programming is a set of approaches for solving problems, and some of those approaches can be done in Swift.
2 comments

Haven't read the article yet, but the problem I find with this attitude generally is that the constraints found in FP are what I find valuable, and what are usually missing from languages which support functional approaches.
Well said. I can write exceedingly low defect code without folds. I can't do so with implicit IO everywhere, ad hoc polymorphism, and dynamic typing.
My take was that you can solve problems by breaking things down. In functional programming you do so with functions. In Swift you can do so with types.