8
Comments
  • -1
    That's Savage broo.
  • 0
    Some people say it’s stupid to start at 0, but no, it’s intelligent!

    You have a better range (256 instead of 255 in case of a byte)

    It’s natural for thing to start with 0, cause that is actually the first natural number

    It’s actually the number the reader/writer has to advance:
    So you start at index 0 and then you make +3 and advance to index 3

    Anyway, it’s just that people think of first, second, third etc. when it’s not what they should think of in an array
  • 1
    @-vim- Dafuq I too support starting with Zero!

    And, zero is not a natural number buddy!
  • 1
    @-vim- Well I think that is what he just explained with his rant.
    And from when is 0 a natural number.. 😂😂
  • 0
    @MadhurBansal @asknavdeep well idk, but that was what I was taught and according to Wikipedia, ISO thinks the same
  • 0
    @-vim- Just found something you might find interesting..
  • 1
    @-vim- using 0 or 1 as starting index doesn't influence range, if you wanted you could use byte for indexing and start your index from 520 and still store 256 elements, just when compiling: index-=520.
    But like you said the reason why indeces start from 0 is because indeces translate to offset and starting from 0 is natural.
Add Comment