On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the blog. I do intend to get pick it up again down the road, but Walter recently surprised me with plans of his own. He's taken the topic of his DConf '23 talk and derived a blog post from it:

https://dlang.org/blog/2023/10/02/crafting-self-evident-code-with-d/

I guess he got impatient with the pace at which I'm getting the talk videos uploaded :-)

And for anyone who'd like to engage in any Reddit discussion that comes up:

https://www.reddit.com/r/programming/comments/16y2h36/crafting_selfevident_code_in_dlang/

Nice article but I think that I found a bug:

    g(f(e(d(c(b(a))),3)));

    a.b.c.d(3).e.f.g;

"That’s the equivalent, but execution flows clearly left-to-right. Is this an extreme example, or the norm?"

Well I don't think they're equivalent:

    g(f(e(d(c(b(a))),3)));

I the first example "e" is receiving two arguments. While in the latter "d" is being receiving whatever "c" returns and "3".

Matheus.
  • From the D Bl... Mike Parker via Digitalmars-d-announce
    • Re: From... zjh via Digitalmars-d-announce
      • Re: ... zjh via Digitalmars-d-announce
    • Re: From... Max Samukha via Digitalmars-d-announce
      • Re: ... rassoc via Digitalmars-d-announce
      • Re: ... Walter Bright via Digitalmars-d-announce
        • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
        • ... Max Samukha via Digitalmars-d-announce
          • ... Walter Bright via Digitalmars-d-announce
    • Re: From... matheus via Digitalmars-d-announce
      • Re: ... Martyn via Digitalmars-d-announce
        • ... bachmeier via Digitalmars-d-announce
      • Re: ... Dom DiSc via Digitalmars-d-announce
        • ... matheus via Digitalmars-d-announce
          • ... Walter Bright via Digitalmars-d-announce
    • Re: From... user1234 via Digitalmars-d-announce
      • Re: ... matheus via Digitalmars-d-announce
      • Re: ... Mike Parker via Digitalmars-d-announce
    • Re: From... Walter Bright via Digitalmars-d-announce
    • Re: From... claptrap via Digitalmars-d-announce

Reply via email to