not operator operator..
S. Chancellor
dnewsgr at mephit.kicks-ass.org
Tue Apr 4 06:15:44 PDT 2006
On 2006-04-04 00:06:06 -0700, Anders F Björklund <afb at algonet.se> said:
> S. Chancellor wrote:
>
>> I really really hate the !in, !is syntax. I think a lot of other
>> people do too.
>
> I do too. Hmm, does "!in" even exist ?
>
>> I propose that the word not, become an operator on operators. For example:
>>
>> Foo not is null
>> Foo not in Bar
>
> But this just looks just as horrible ?
>
> Back in the day it was suggested that the Foo !== null syntax
> was changed into !(Foo is null), so I guess you can use that ?
>
> I just gave up and converted it to !Foo... Boolean be damned.
>
> --anders
I liked the other syntax better. But this isn't perl, there shouldn't
aliased operators. IMO.
More information about the Digitalmars-d
mailing list