• @Serinus
    link
    English
    193 months ago

    They clearly need an abstract boolean comparison factory.

    • @marcos
      link
      English
      21
      edit-2
      3 months ago
      var CompareBooleans = new ComparatorFactory().BooleanComparator(new BooleanComparisonByEqualityPolicy());
      if (CompareBooleans(a, b) == true) {
           System.Out.PrintLn("Sames!!!");
      }
      

      But now that I’ve written this, it’s C#, so it’s missing dependency injection.