Why don't other programming languages have ranges?

Justin Johansson no at spam.com
Sat Jul 24 06:36:34 PDT 2010


It sounds like the D PL has invented the range idiom unlike any other PL.

Since the dawn of PL's, which must be about 50 years now since Lisp
for example, it is hard to imagine a new PL inventing a completely
new idiom as "ranges" seem to purport. Given the many academic
arguments for ranges as opposed to iterators, why is it that the
D PL seems to be the major if not only sponsor of the range idiom?

Is D really taking the lead here and is it likely that other PL's
will eventually take D's lead?

Cheers
Justin Johansson


More information about the Digitalmars-d mailing list