Containing side-effects with the IO FunctorI have been reading Professor Frisby’s Mostly adequate guide to Functional Programming. A great read, and a book I would certainly…Jun 14, 2019Jun 14, 2019
Extending your modules using a plugin architectureBreaking your app up into modules has many benefits and it is extremely easy to achieve with Xcode using workspaces or Cocoapods. Whether…May 12, 20183May 12, 20183
Solving ambiguity and increasing performance with the Promise TypeWe recently ran into an issue at Standard Bank Engineering where we were running the same service calls concurrently. With a large number…Mar 29, 20181Mar 29, 20181
Writing declarative code using Result ExtensionsI recently read an excellent post by Benedikt Terhechte where he extends the API of optionals. At Standard Bank, we use the Result Type…Jan 27, 2018Jan 27, 2018
Result Oriented Programming: building a result incrementally using an applicative functorIn my previous story, we looked at how we could build a Result incrementally using function composition. We built three variations of the…Dec 5, 2017Dec 5, 2017
Result Oriented Programming: building a result incrementally using function compositionAt Standard Bank, we use the Result type. We use a rather simple implementation, which can be digested quite easily:Jun 11, 20171Jun 11, 20171