I came across One Sided Range Example: [...2] [2...] [..<2]
Half Open Range [..<2]
Can not the last use case be separated [..<2] of One Sided Range for Brevity as it is already included in Half Open Range?
I came across One Sided Range Example: [...2] [2...] [..<2]
Half Open Range [..<2]
Can not the last use case be separated [..<2] of One Sided Range for Brevity as it is already included in Half Open Range?
I mean for Single Responsibility {Brevity}
I’m not entirely sure I understand your question. Please post a concrete example of the two things that you consider to be redundant.
Having said that, redundancy is very common in programming language. Languages often add features for convenience, and such convenience features are often redundant with core features. However, it’s hard to say whether that’s the case here without better understanding your question, and hence my request for a concrete example.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
@SaurabhSaini Is it just a question of terminology and documentation ?
[..<2] of One Sided Range as it is already included in Half Open Range?
Could you explain what you mean precisely ?