Why don't other programming languages have ranges?

Leandro Lucarella luca at llucax.com.ar
Sat Jul 24 08:43:21 PDT 2010


Justin Johansson, el 24 de julio a las 23:06 me escribiste:
> 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?

http://www.boost.org/doc/libs/1_42_0/libs/range/index.html

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
This is what you get,
when you mess with us.


More information about the Digitalmars-d mailing list