Boost logo

Boost :

From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2001-06-20 12:54:05


[Beman Dawes]
My memory of past discussions in the C++ committee was a strong preference
for consistent 0 based indexing even in the cases where it is less
intuitive.

I seem to remember someone saying something like "0 based indexing is just
one of the things you have to learn initially, and then it becomes second
nature." Heads nodded.

I'd say the advantage of any 1-based scheme would have to be totally
overwhelming before it would be worth deviating from such long standing
practice.

(Just a personal opinion.)
[Gary]
Ok.

 The _1 issue isn't really a problem because it's just the name of a
variable. Just as easily could be _0, or _ThatFirstArgumentThatIsntDefined.

  Yours,
 -gary-

gary.powell_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk