3 ms·
Personally, I find that just having "0..count" requires a bit of thinking on my part trying to decide if it's inclusive or not. "0..<count" instantly tells me
by Watabou 9y ago
Personally, I find that just having "0..count" requires a bit of thinking on my part trying to decide if it's inclusive or not.
"0..<count" instantly tells me that it's not including value, and follows the matematical interval notification [0..count] vs [0..count)
- seanwilson 9y agoI'd prefer 0..count or 0..(count - 1) then.