betterC question
Mike Parker
aldacron at gmail.com
Thu Nov 19 01:42:16 UTC 2020
On Thursday, 19 November 2020 at 00:20:50 UTC, Dibyendu Majumdar
wrote:
> On Thursday, 19 November 2020 at 00:18:54 UTC, rikki cattermole
> wrote:
>
>>
>> You don't need the brackets to call a function (and with a
>> little help from UFCS):
>>
>> void main() {
>> import std.stdio;
>>
>> "Hello!".writeln;
>> writeln;
>> }
>
> Okay thanks. Bad idea IMO.
Imagine what range pipelines would look like without it. This is
one of my favorite D features.
More information about the Digitalmars-d-learn
mailing list