News for hackers. Stuff that matters.
Re:Swift is like Kotlin by enqk on Thursday May 18, 2017 @09:52AM (#14367171)
Right-Exclusive ranges are superior to inclusive ranges because they can represent empty ranges, which removes one rare degenerate case and not overemphasizing it.

Another benefit: creating a series of right-exclusive ranges from a sequence [a, b, c, f] is easy: [a, b) [b, c) [c, f)

There are no comments on this comment yet.