We continue our explorations into algebra and the Swift type system. We show that exponents correspond to functions in Swift, and that by using the properties of exponents we can better understand what makes some functions more complex than others.| www.pointfree.co
One of the biggest advantages of a strong type system is that carefully chosen types can make illegal states unrepresentable in your programs. Many Cocoa APIs don’t take full advantage of this because they aren’t optimized for Swift.| Ole Begemann