Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 0-based indexing with closed intervals is better for slicing.

Given how confused and inconsistent Python slicing syntax is, it obviously isn't.



Also given how Matlab is essentially slicing-oriented programming and is 1-based, I've always found it perfectly intuitive.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: