Reduce boilerplate code with an automatic synthesis of Equatable and Hashable conformance

In this post, Sarun Wongpatcharapakorn takes us back to Swift 4.1 to look at the automatic synthesis of the Equatable and Hashable protocols. Even if you are already familiar with this feature, it's helpful to be reminded of how it can be used.