News for hackers. Stuff that matters.
Re:Apple’s Use of Swift in iOS 13 by NobodyNada on Friday September 27, 2019 @12:42PM (#21093805)
Iterator-style loops are much clearer and more concise in almost all cases. In this case you can iterate over a range:

    for i in 0..<10 {
        print(i)
    }

There are no comments on this comment yet.