Three Quick Tips
Three quick tips before the new year.
Stop Using &&
Everyone else has probably arrived at this already, but Swift 3's
rejiggering of the where clause affects more than guard's syntax. It also
eliminates the need for && operators in ifs:
// Equivalent in Swift 3:
if this && that { ... }
if this, that { ... }