On Sunday, 17 March 2013 at 23:55:07 UTC, Walter Bright wrote:
On 3/17/2013 2:59 PM, Vladimir Panteleev wrote:
On Sunday, 17 March 2013 at 21:00:32 UTC, Walter Bright wrote:
On 2/3/2008 1:07 AM, bearophile wrote:
LINQ (and its future parallel extensions), with its additional syntax, may be
a good thing to add to D:
http://www.moserware.com/2008/02/for-loops-using-i-i-enumerators-or-none.html

You can use the same syntax to simplify parallel code, DB access code, etc.

D already has that with ranges and component style programming.

Yes, but did it have them five years ago? ;)

No. But it doesn't need to be added to D because D has it already.

This thread was posted 5 years ago. :P It just got bumped up today.


As for the implementation of lambdas to generate SQL queries and the like, there was a pull request for a __traits(codeof) that could have been used to do such a thing. Unfortunately, there were issues with it in some fundamental way, and it was scrapped. A __traits(astof) would be quite interesting for this.

Reply via email to