On Thursday, 2 June 2016 at 21:56:10 UTC, Walter Bright wrote:
Yes, you have a good point. But we do allow things like:byte b; if (b == 10000) ...
Why allowing char/wchar/dchar comparisons is wrong:
void main()
{
string s = "Привет";
foreach (c; s)
assert(c != 'Ñ');
}
From my post from 2014:
http://forum.dlang.org/post/[email protected]
