python vs d

Meta via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 29 09:38:20 PDT 2014


On Tuesday, 29 April 2014 at 10:51:26 UTC, Ola Fosheim Grøstad 
wrote:
>>> For closures for arrays and dicts.
>> I don't understand
>
> I used the wrong term, I meant list comprehensions. The most 
> important feature in Python for me. I find it very powerful in 
> combination with tuples, lists and dicts.

I think that list and dictionary comprehensions could be 
implemented with mixins fairly easily, but I haven't had a chance 
to test this theory yet.


More information about the Digitalmars-d mailing list