From the D Blog: Crafting Self-Evident Code in D
Dom DiSc
dominikus at scherkl.de
Tue Oct 3 13:33:29 UTC 2023
On Tuesday, 3 October 2023 at 10:39:19 UTC, matheus wrote:
> I the first example "e" is receiving two arguments. While in
> the latter "d" is being receiving whatever "c" returns and "3".
That's the point. In UFCS it is immediately obvious which
function receives the 3, while with all the parenthesis it takes
some time and concentration to find out, and getting it wrong is
quiet easy.
More information about the Digitalmars-d-announce
mailing list