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
-
@johnyCodewalker yea, if you are trying to design a programming language for a mathematician instead of a programmer, which is already a weird decision in itself...
But yea, there are some valid reasons I guess. -
joas19427yIt is very logical to start from 0 if you think how memory position of an array item is calculated:
position = offset + index * size
But I can't figure out other reason to start counting from 1 except that it have been thought to you when you were young. -
@illusion466 Most mathematicians I've seen start summation from i=1, that seems like a reason.
Related Rants
-
neelgeek32In my second year, I told my teacher I can code in in C#(c-sharp). She replied : C-sharp ? Oh you mean C-hash...
-
th3121I want to pay respects to my favourite teacher by far. I turned up at university as a pretty arrogant person....
-
QueenMorgana7Definitely my security teacher. He actually expected us to actively learn the stuff and put effort into our ed...
"Remember array starts from 0" he said
rant
wk73