On Sunday, 12 May 2019 at 05:43:01 UTC, Walter Bright wrote:
All this effort strongly implies that there's no such thing as a satisfactory bool type. Will you succeed where 10,000 other programmers have failed? Seems unlikely. But I doubt I will dissuade you from trying.
If you succeed at implementing bool, nobody debates it. As such, the huge debates are intrinsically of people failing at implementing bool. A successful boolean implementation is invisible.
So what does work reasonably? Treating it like a small integer.
Yes, because it's clearly succeeding at avoiding huge forum debates...
