D code length vs other languages

Craig Dillabaugh craig.dillabaugh at gmail.com
Fri Dec 6 18:25:20 UTC 2019


On Friday, 6 December 2019 at 08:47:59 UTC, Paolo Invernizzi 
wrote:
> On Thursday, 5 December 2019 at 22:28:53 UTC, Adam D. Ruppe
clip
>
> Yesterday happened to me to translate a modest size python 
> script into D, to incorporate it in a product, and it was a 
> pleasant experience.
>
> The port was really really easy ... but I'm starting to miss 
> list comprehension ...
>
> Anyway, point taken!

Wouldn't it be fairly easy to write some sort simple library that 
gives you list comprehensions in D.  It wouldn't be a nice as the 
python syntax, but it should be doable no?


More information about the Digitalmars-d mailing list