3 ms·
It is a compelling argument for calculating ranges, where the subscript is the offset into the range, which is useful when your data structure has properties li
by saagarjha 8y ago
It is a compelling argument for calculating ranges, where the subscript is the offset into the range, which is useful when your data structure has properties like being backed by continuous memory and being passed around as a pointer to the first element. But when treating subscripting as “give me the nth element” it doesn’t really make sense.