Impressed

Jacob Carlborg doob at me.com
Thu Jul 26 23:31:36 PDT 2012


On 2012-07-27 02:10, Brad Anderson wrote:

> D uses ranges instead of iterators. You can read more about them here:
> http://ddili.org/ders/d.en/ranges.html
>
> I find ranges to be a vast improvement over iterators personally (I use
> iterators extensively in C++ for my job and lament not having ranges
> regularly).

Note that iterators in .NET and C++ are a bit different. .NET has 
language support with the "yield" keyword.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list