Range proposals from Eric Niebler

Peter Alexander peter.alexander.au at gmail.com
Fri Feb 28 12:26:42 PST 2014


On Friday, 28 February 2014 at 02:04:10 UTC, Walter Bright wrote:
> On 2/27/2014 4:55 PM, Brad Anderson wrote:
>> On Friday, 28 February 2014 at 00:43:57 UTC, bearophile wrote:
>>> Brad Anderson:
>>>
>>>> Reddit discussions on these are interesting too. Eric talks 
>>>> about why he
>>>> doesn't like D's ranges a bit.
>>>
>>> What are the downsides of D ranges he sees?
>>>
>>
>> Here's what he wrote:
>>
>> http://www.reddit.com/r/cpp/comments/1y60bk/range_concepts_part_1_of_4_delimited_ranges/cfhvl65
>>
>>
>
> Note that Andrei has added a reply to that.

tl;dr:

Eric: I don't like D ranges because there is no notion of 
position, so e.g. find has to return a range.

Andrei: Position may be nice to have, but we can get by without 
it, and having fewer concepts is itself a benefit.


More information about the Digitalmars-d mailing list