Rant after trying Rust a bit

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 6 06:27:34 PDT 2015


On 08/06/2015 01:30 PM, Idan Arye wrote:
> On Thursday, 6 August 2015 at 11:26:10 UTC, Ola Fosheim Grøstad wrote:
>> On Thursday, 6 August 2015 at 06:50:38 UTC, Walter Bright wrote:
>>> On 8/2/2015 8:17 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
>>> <ola.fosheim.grostad+dlang at gmail.com> wrote:
>>> > It's a weird thing to do for a C-decendant as I would expect
>>> "~=" to do binary
>>> > negation.
>>>
>>> If you really felt this way, you'd expect the C != operator
>>>
>>>   a != b
>>>
>>> to be the same as:
>>>
>>>   a = !b
>>
>> I don't because "!=" is frequently used and usually in a context where
>> expectations points towards comparison and not assignment.
>>
>> But I would prefer "=", "≠","<" and "≤" for comparison and
>> constants... then have something else for variable assignment.
>
> I understand your attempt to auction your old APL keyboard didn't go well?

I can actually type ≠ and ≤ more quickly than != or <= in my editor.



More information about the Digitalmars-d mailing list