Swift 2.0: Why Guard is Better than If
Swift 2.0 comes with the excitement of the guard statement. But looks like there’s still confusion as to why guard is AMAZING, especially compared to the simple if statement before Swift 2.0. That is a completely reasonable question. So why is guard better than just a plane if? Let me count the ways…