3 ms·
//Names changed slightly to protect the wicked public interface IProvideBoolean { Boolean True { get; } Boolean False { get; } } public class Boo
by dibujante 9y ago
//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.
- Ygg2 9y agoFinally ready for trinary computing!
- breakingcups 9y agoSee also: https://thedailywtf.com/articles/What_Is_Truth_0x3f_ https://thedailywtf.com/articles/What_Is_Truth_0x3f_