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.
  • Re: From the ... Max Samukha via Digitalmars-d-announce
    • Re: From... rassoc via Digitalmars-d-announce
    • Re: From... Walter Bright via Digitalmars-d-announce
      • Re: ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
      • Re: ... Max Samukha via Digitalmars-d-announce
        • ... Walter Bright via Digitalmars-d-announce
  • Re: From the ... matheus via Digitalmars-d-announce
    • Re: From... Martyn via Digitalmars-d-announce
      • Re: ... bachmeier via Digitalmars-d-announce
    • Re: From... Dom DiSc via Digitalmars-d-announce
      • Re: ... matheus via Digitalmars-d-announce
        • ... Walter Bright via Digitalmars-d-announce
  • Re: From the ... user1234 via Digitalmars-d-announce
  • Re: From the ... Walter Bright via Digitalmars-d-announce
  • Re: From the ... claptrap via Digitalmars-d-announce
    • Re: From... bachmeier via Digitalmars-d-announce
      • Re: ... claptrap via Digitalmars-d-announce
        • ... bachmeier via Digitalmars-d-announce

Reply via email to