bool <=> int. WTF. (DIP0015)
Dejan Lekic
dejan.lekic at gmail.com
Thu Jul 4 09:21:55 UTC 2019
On Wednesday, 3 July 2019 at 12:22:36 UTC, a11e99z wrote:
> I vote for real boolean
> and disallow only implicit conversions to bool for enums:NotBool
> and consider option conversions to bool for
> byte/int/char/long/real/any arithmetics at last when no other
> options.
I say we keep it as it is, but go back to the old days, and call
it a "bit" not "boolean", and make it an integer type with all
expected implicit conversions.
More information about the Digitalmars-d
mailing list