ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  What I Hate About Your Programming Language
Subject:   C, C++, Java, maybe others - zeroth element arrays
Date:   2003-05-14 07:32:21
From:   anonymous2
Response to: C, C++, Java, maybe others - zeroth element arrays

Zero-based indexing isn't so bad. If you MUST, you can alwas use enumerated indexing, or fake enumerated indexing with some constant definitions.


And, for things like 'cron,' the zeroth day of the week is Sunday. :-)



1 to 1 of 1
  1. C, C++, Java, maybe others - zeroth element arrays
    2003-05-14 09:33:22  anonymous2 [View]

1 to 1 of 1