2 ms·
I'm addressing the topic of the post: the use of indexes in programming, not names used for variables that store an initial time. myarray[2] doesn't mean 'myar
by edtechdev 15y ago
I'm addressing the topic of the post: the use of indexes in programming, not names used for variables that store an initial time.
myarray[2] doesn't mean 'myarray at time 2'
- mjw 15y agoOne advantage I think the parent is alluding to, is that zero-based indexing makes it a bit easier and more natural to generalise between continuous (functions on R) and discontinuous (functions on N) situations. Since the latter are often used to approximate the former, this is quite handy.