Conditional ? bug [OT]

xs0 xs0 at xs0.com
Fri Oct 6 08:29:42 PDT 2006


Serg Kovrov wrote:
> I like PHP5 syntax for that matter: use == / '!=' to compare values of 
> objects, and === / !== (they call it 'identity operators') to compare 
> references.
> 
> This 'identity operators' could be used to distinct, say, true (bool) 
> from 1 (int), etc.. Nice stuff.

=== and !== were in D as well, but supposedly == can't be distinguished 
from === in some fonts, so they were changed to is and !is..


xs0



More information about the Digitalmars-d-bugs mailing list