Jump to page: 1 2 3
Thread overview
Please may we have an isnot?
May 01, 2005
Matthew
May 01, 2005
Derek Parnell
May 02, 2005
clayasaurus
May 02, 2005
Mike Parker
May 02, 2005
James Dunne
May 02, 2005
SeeSchloss
May 02, 2005
Ant
May 02, 2005
Jake Oursland
May 02, 2005
Ant
May 02, 2005
Derek Parnell
May 02, 2005
David L. Davis
May 02, 2005
Ben Hinkle
May 02, 2005
Ant
May 02, 2005
Ben Hinkle
May 02, 2005
zwang
May 03, 2005
Derek Parnell
May 03, 2005
Derek Parnell
May 03, 2005
Ant
May 04, 2005
Kevin Bealer
opIndex, AAs, and mutability (was: Re: Please may we have an isnot?)
May 05, 2005
Kevin Bealer
May 05, 2005
Ben Hinkle
May 06, 2005
Kevin Bealer
May 02, 2005
Hasan Aljudy
May 01, 2005
Let me add my plaintiff plea, based on current practical pain for lack of isnot operator.

    assert(!(field2 is field));

is just so awkward to write, and ugly to read.




May 01, 2005
On Sun, 1 May 2005 15:36:35 +1000, Matthew wrote:

> Let me add my plaintiff plea, based on current practical pain for lack of isnot operator.
> 
>     assert(!(field2 is field));
> 
> is just so awkward to write, and ugly to read.

Exactly! Surely we are not so pedantic to deny the simplicity of ...

     assert(field2 isnot field);

-- 
Derek Parnell
Melbourne, Australia
1/05/2005 8:41:24 PM
May 02, 2005
Matthew wrote:
> Let me add my plaintiff plea, based on current practical pain for lack of isnot operator.
> 
>     assert(!(field2 is field));
> 
> is just so awkward to write, and ugly to read.
> 
> 
> 
> 

I agree, we have is (which is nice btw), why not isnot?
May 02, 2005
Matthew wrote:
> Let me add my plaintiff plea, based on current practical pain for lack of isnot operator.
> 
>     assert(!(field2 is field));
> 
> is just so awkward to write, and ugly to read.
> 

Count my vote for it.
May 02, 2005
In article <d54edn$u2h$1@digitaldaemon.com>, Mike Parker says...
>
>Matthew wrote:
>> Let me add my plaintiff plea, based on current practical pain for lack of isnot operator.
>> 
>>     assert(!(field2 is field));
>> 
>> is just so awkward to write, and ugly to read.
>> 
>
>Count my vote for it.

Postin' "me too" like some braindead AOLer.  =D

Regards,
James Dunne
May 02, 2005
>>> Let me add my plaintiff plea, based on current practical pain for lack of isnot operator.
>>> 
>>>     assert(!(field2 is field));
>>> 
>>> is just so awkward to write, and ugly to read.
>>> 
>>
>>Count my vote for it.
>
>Postin' "me too" like some braindead AOLer.  =D

Just to say I agree such an operator would be nice, though "!is" would be fine as well (and look less strange than "isnot" imho).


May 02, 2005
In article <d5597d$1m7r$1@digitaldaemon.com>, SeeSchloss says...
>
>>>> 
>>>>     assert(!(field2 is field));
>>
>>Postin' "me too" like some braindead AOLer.  =D
>
>Just to say I agree such an operator would be nice, though "!is" would be fine as well (and look less strange than "isnot" imho).

we could also have "!in" that would be consistent with "!is"

Ant


May 02, 2005
In article <d51pu5$1vju$1@digitaldaemon.com>, Matthew says...
>
>Let me add my plaintiff plea, based on current practical pain for lack of isnot operator.
>
>    assert(!(field2 is field));
>
>is just so awkward to write, and ugly to read.
>

Count me in too, for the creation of a "isnot" operator.

David L.

-------------------------------------------------------------------
"Dare to reach for the Stars...Dare to Dream, Build, and Achieve!"
-------------------------------------------------------------------

MKoD: http://spottedtiger.tripod.com/D_Language/D_Main_XP.html
May 02, 2005
"Matthew" <admin@stlsoft.dot.dot.dot.dot.org> wrote in message news:d51pu5$1vju$1@digitaldaemon.com...
> Let me add my plaintiff plea, based on current practical pain for lack of isnot operator.
>
>    assert(!(field2 is field));
>
> is just so awkward to write, and ugly to read.

For this reason I use x !== y instead of !(x is y). The latter is too hard to read. In some sense it's a pity === didn't stay around since === and !== complement each other nicely. oh well. :-P


May 02, 2005
Besides "isnot", a "notin" operator would also be nice.


Matthew wrote:
> Let me add my plaintiff plea, based on current practical pain for lack of isnot operator.
> 
>     assert(!(field2 is field));
> 
> is just so awkward to write, and ugly to read.
> 
> 
« First   ‹ Prev
1 2 3