On Saturday, 5 May 2018 at 15:51:11 UTC, Johannes Loher wrote:
Personally, I don't like that kind of "abuse" of operators at all. I think it looks really unusual and it kind of breaks your "flow" when reading the code. Additionally, people, who don't know about the special behaviour the operators have in this case, might get really confused. I would much prefer it, if you used a more common fluent style (like 1.0.should.be.approximately(1.0001);).

Anyways, thanks for working on this awesome project!

I think I'm siding with Johannes here. Much as the overloads look nice, I don't really see the advantage over `shouldEqual`. Also, what's with `all.these.identifiers`? Any particular reason why you are more fond of them rather than of good ol' pascalCase?
  • unit-threaded v0.7.4... Atila Neves via Digitalmars-d-announce
    • Re: unit-thread... Johannes Loher via Digitalmars-d-announce
      • Re: unit-th... Dechcaudron via Digitalmars-d-announce
        • Re: uni... Johannes Loher via Digitalmars-d-announce
          • Re:... Nick Sabalausky (Abscissa) via Digitalmars-d-announce
            • ... Cym13 via Digitalmars-d-announce
              • ... Nick Sabalausky (Abscissa) via Digitalmars-d-announce
                • ... Cym13 via Digitalmars-d-announce
                • ... bauss via Digitalmars-d-announce
            • ... Jacob Carlborg via Digitalmars-d-announce
          • Re:... Dechcaudron via Digitalmars-d-announce
      • Re: unit-th... bauss via Digitalmars-d-announce

Reply via email to