Under the hood of Assertions in Swift

John Sundell looks at assertions and shows that although they are conceptually quite simple, they can be very powerful when placed in the right spots. He also provides an example of a custom assert function implementation, demonstrating how we can build on top of what the Swift standard library provides.