Article:
  What I Hate About Your Programming Language
Subject:   C, C++, Java, maybe others - zeroth element arrays
Date:   2003-05-14 14:39:09
From:   anonymous2
Response to: C, C++, Java, maybe others - zeroth element arrays

Naah, you don't really want me to reply with a list of languages that do suport arrays starting 'at one' do you:)
Don't be worried if you ever encounter one though, those languages do not support for-loop logic either.
You'll indeed need an all new logic:
the first is in position one,
the second is in position two,
...
the Nth is in position N.


Hey, I really do like C, but not really for business processing.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • C, C++, Java, maybe others - zeroth element arrays
    2003-07-06 00:49:55  anonymous2 [View]

    FORTRAN and MATLAB both index from 1.

    I migrated from MATLAB to Numerical Python, just to get back to the sweet, nourishing 0 indexing.