Jump statements such as return
and continue
let you change the default flow of program execution, but jump statements
that direct the control flow to the original direction are just a waste of keystrokes.
Noncompliant code example
var i:Int
for i in 1...10 {
print("i is \(i)")
continue // this is meaningless; the loop would continue anyway
}
Compliant solution
var i:Int
for i in 1...10 {
print("i is \(i)")
}