Why don't other programming languages have ranges?

Walter Bright newshound2 at digitalmars.com
Sat Jul 24 11:05:28 PDT 2010


Justin Johansson wrote:
> It sounds like the D PL has invented the range idiom unlike any other PL.

Pointer programming is deeply embedded into the C++ culture, and iterators segue 
nicely into that culture. For D, however, programming revolves around arrays, 
and ranges fit naturally into that.

It'll take years, but I'll be very surprised if ranges don't filter into many 
major languages, as well as other ideas that D has proven to be solid.


More information about the Digitalmars-d mailing list