Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
lastNick5766yAs the R language is inconsistent af when it comes to packages I believe that there are R packages that start from 0
-
musician6656yRisky question of the day: why shouldn't it? I do know assembly and C and know how its represented under the hood but I'd prefer not having to do the whole lenght-1 thing. I think it would be more programmer friendly if it was abstracted away.
-
davide24246yJulia too. I just discussed about it yesterday. But on average... those who use these data science-oriented programming languages are not computer scientists, but scientists or mathematicians. It is easier for them to understand that the first element of an array a is actually the number 1. Do you remember the first day of programming when they told you that the first element of an array was 0? It was strange... now you've a habit, but if you think in an other perspective, it makes sense that element 0 of an array is the number 1
Related Rants
OMG, R programming language's index starts from 1.... #SHOCKED
rant
r
start 1
index
shocked