python vs d

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 29 07:53:47 PDT 2014


On Monday, 28 April 2014 at 22:31:58 UTC, bearophile wrote:
> What's the good of having all arrays always start from index 1 
> (this is different from Ada, where you can choose the indexing 
> range and type)?

I'd say, for a math-oriented language starting position 1 is more 
meaningful than starting offset 0, the latter is an idiom for 
system programming language, the former better corresponds to 
mathematical formalism.


More information about the Digitalmars-d mailing list