Today’s article is the zip, map, and reduce functions in Swift. Let’s walkthrough a typical problem that you might come across in your coding endeavors.
While moving from objective-c to swift many developers have found swift’s enums to be much powerful tool than it used to be before. It’s algebraic nature (data exclusivity) and excellent native compiler support (powered by pattern match) made it so much easier to do a lot of routine…
Read this post and more from @nickoneill about discovering Swift patterns at That Thing in Swift