Proposal: Multidimensional opSlice solution

bearophile bearophileHUGS at lycos.com
Tue Mar 9 02:54:55 PST 2010


Fawzi Mohamed:
> I don't see why the obvious solution from..to..step would have 
> problems, so that one needs the ":", but maybe I did not think enough 
> about the implications. Anyway I find .. more self descriptive for 
> slices than :.

If .. is more descriptive for a range of indexes (and I agree, despite it needs two chars instead of one) then to..step is not right, because to..step is not a range.
So from..to:step seems more descriptive than from..to..step :-)

Bye,
bearophile



More information about the Digitalmars-d mailing list