Rant after trying Rust a bit

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 23 00:03:51 PDT 2015


On 2015-07-23 08:46, ponce wrote:

>> Algebraic data types
>> --------------------
>> Haven't looked into `Algebraic!`, so I won't start bashing D here :)
>> But given the lack of pattern matching, I doubt it will be as pretty
>> as Rust.
>
> You can pattern-match with visit.

I had a look at the example for "visit" and looked at the 
implementation. I would hardly call that "pattern matching".

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list