Hacker News new | past | comments | ask | show | jobs | submit login

  //Names changed slightly to protect the wicked
  public interface IProvideBoolean {
    Boolean True { get; }
    Boolean False { get; }
  }

  public class BooleanProvider : IProvideBoolean {
    public Boolean True => true;
    public Boolean False => false;
  }
So.... SOLID.... If there's ever a third value for Boolean, I Will Be Ready.




Finally ready for trinary computing!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: