D code length vs other languages

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Tue Dec 10 02:23:21 UTC 2019


On Monday, 9 December 2019 at 16:33:30 UTC, Steven Schveighoffer 
wrote:
> On 12/7/19 4:28 AM, Jesse Phillips wrote:
>> On Friday, 6 December 2019 at 20:09:46 UTC, Paolo Invernizzi 
>> wrote:
>>> [...]
>> 
>> https://dev.to/jessekphillips/map-reduce-in-d-25nm
>> 
>> This was my very brief comparison of List comprehension vs Ds 
>> libraries.
>
> "In the first situation filtering came before the operation, 
> here it will ultimately be useless because it operates on the 
> square of a number which is always even."
>
> You sure about that? ;)
>
> -Steve

Yes because anything else is filtered out.

I must have been thinking about addition :)


More information about the Digitalmars-d mailing list