Article: the feature that makes D my favorite programming language

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Sat Jul 25 18:24:22 UTC 2020


On Saturday, 25 July 2020 at 14:47:01 UTC, aberba wrote:
> On Saturday, 25 July 2020 at 13:28:34 UTC, Adam D. Ruppe wrote:
>> On Saturday, 25 July 2020 at 11:12:16 UTC, aberba wrote:
>>> Oop! Chaining the writeln too could have increased the wow 
>>> factor. I didn't see that.
>>
>> oh I hate it when people do that though, it just looks off to 
>> me at that point.
>
> Ha ha. If you're writing idiomatic D code, why not not all in 
> on it?

It bugs me too, though I have done it.

I think the right answer of why it is odd is because writeln is 
void. As soon as it is placed on the end the chain is broken and 
you can't expand on it.


More information about the Digitalmars-d-announce mailing list