[Submission] D Slices

Ali Çehreli acehreli at yahoo.com
Tue May 31 13:30:29 PDT 2011


On 05/31/2011 01:19 PM, eles wrote:
 > == Quote from Ali Çehreli (acehreli at yahoo.com)'s article
 >> On 05/31/2011 08:10 AM, eles wrote:
 >>   >  I know no other examples where open-right limits are used.
 >> The C++ standard library uses open-right with its pairs of
 > iterators.
 >> The second iterator "points" at one beyond the last element of the
 > range.
 >> Ali
 >
 > C'mon, if C++ is such a good standard, then D would have never
 > appeared. Why not dropping D completely and go to C++ then?

D improves over C++.

 > The fact that C++ uses it that way does not making it good for us.

Familiarity is very important. I came to D from C++ and it made sense to 
me right away. (Just like it did not make sense to you because it is 
different in MatLab.)

Ali



More information about the Digitalmars-d mailing list