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

That's a big thing with Julia actually. A lot of people first getting into it criticise it for its use of 1-based indexing (I'm not the biggest fan of it either tbh), but in reality, there are very few cases in which you actually directly interact with array indices at all. And even if you do, the idiomatic way to iterate over the indices of an array is to use the `indices`-function, which has the benefit of working with multidimensional arrays, or arrays that start with an index other than 1.


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

Search: