Re:Swift and the Legacy of Functional Programming
by louthy on Monday November 21, 2016 @02:35PM
(#13008417)
I find the first example much more intuitive. It declares intent, rather than the mechanics of delivery. And that's where we need to be heading as programmers.
[ Parent
| on HN ]
Re:Swift and the Legacy of Functional Programming
by RotsiserMho on Monday November 21, 2016 @02:37PM
(#13008438)
This. So much. Declaring intent (what) is much more useful than declaring the mechanics (how). I don't typically care about the "how", just the "what". And the more readable that is, the better.