not operator operator..
Don Clugston
dac at nospam.com.au
Tue Apr 4 01:18:32 PDT 2006
Anders F Björklund wrote:
> Norbert Nemec wrote:
>
>> Sorry, I don't agree. != has been in C for ages and any C programmer
>> should therefore understand !in or !is.
>>
>> Unlike in natural language text, source code does ! become more readable
>> when using words. It may slightly help the newbie, but it will get in
>> the way for everyday use.
>
> Ehrm, wasn't '===' changed to 'is' exactly because it was more readable?
I thought it was because === was almost indistinguishable from == with
some international fonts.
> I know many people that prefer 'not' over '!', 'and' over '&&', etc etc.
>
> Originally I didn't see a problem of adding them as alternative syntax,
> but now I know that it would somehow mean the D originals have to go...
>
> So requiring '!is' is bad enough, without making it 'not is' - or worse.
> It isn't very beautiful, but then I don't think that was a design goal ?
>
> --anders
More information about the Digitalmars-d
mailing list