4 ms·
Yo, would be nice to have some functional programming language with decent syntax to program apple machines. Let's call it Dylan to honor the most recent winner
by jonathanstrange 10y ago
Yo, would be nice to have some functional programming language with decent syntax to program apple machines. Let's call it Dylan to honor the most recent winner of the Nobel prize for literature.
Just kidding. The bottomline of this page and talk is that Swift is still not functional. But you can do cool things with it.
- ubertaco 10y agoI 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.
- macintux 10y agoHaven'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.
- seagreen 10y agoWell 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.
- speg 10y agoMy 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.
- carapace 10y agohttps://en.wikipedia.org/wiki/Dylan_(programming_language) https://en.wikipedia.org/wiki/Dylan_(programming_language) (for those who didn't get the joke... ;-)