News for hackers. Stuff that matters.
Re:Why We Use Julia, 10 Years Later by sidkshatriya on Tuesday February 15, 2022 @12:12AM (#30343042)
I actually prefer the 0 indexing of python. Systems code (c/c++ etc.) already uses 0 based indexing. So it is nice that when you do data science the convention stays the same.
Re:Why We Use Julia, 10 Years Later by Mikeb85 on Tuesday February 15, 2022 @01:07AM (#30343336)
But Fortran, R, Matlab and other tools in the domain use 1 indexing...
Re:Why We Use Julia, 10 Years Later by runarberg on Tuesday February 15, 2022 @01:29AM (#30343437)
Does it actually matter at this point? I write off by one errors all the time in JavaScript and I usually spot them immediately. I’ve written Julia and R in the past and I found it really easy to switch between contexts, and if I forget, the errors are such that it takes only a few seconds to spot and fix them.