top | item 14364773

(no title)

Watabou | 8 years 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)

discuss

order

seanwilson|8 years ago

I'd prefer 0..count or 0..(count - 1) then.