Rant after trying Rust a bit

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 30 06:32:28 PDT 2015


On 07/30/2015 11:25 AM, Chris wrote:
> On Thursday, 30 July 2015 at 02:30:45 UTC, Ola Fosheim Grøstad wrote:
>> On Tuesday, 28 July 2015 at 09:29:28 UTC, Chris wrote:
>>> [1] I wonder what kind of bugs will be introduced, when if-else is
>>> used as an expression.
>>
>> I believe most Algol-like languages outside the C-family have it...
>
> So can you tell me what pitfalls there are?

What kind of special pitfall do you envision here?

> Sure people must have come across some nasty bugs related to this.

They are the intersection of nasty bugs involving ?: and nasty bugs 
involving if/else statements.


More information about the Digitalmars-d mailing list