Suggested approach: Swift provides automatic tuple comparison ever since Swift 2.2 – you can just use
== to compare tuples item by item.
For bonus points you could mention that tuple comparison does not guarantee that both tuples use the same element names.
Estimated difficulty: Easy
#if swiftsyntax do?
finalkeyword do, and why would you want to use it?
Link copied to your pasteboard.