3 ms·
> 0-based indexing with closed intervals is better for slicing. Given how confused and inconsistent Python slicing syntax is, it obviously isn't.
by Mikhail_K 6y ago
> 0-based indexing with closed intervals is better for slicing.
Given how confused and inconsistent Python slicing syntax is, it obviously isn't.
- ModernMech 6y agoAlso given how Matlab is essentially slicing-oriented programming and is 1-based, I've always found it perfectly intuitive.