std.experimental.testing PR review

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 27 13:48:03 PDT 2015


On Saturday, 27 June 2015 at 20:42:52 UTC, Jacob Carlborg wrote:
>> `2.timesTwo.shouldEqual(4)`
>>
>> .. gets immediately marked as garbage in my book.
>
> So what do you UFCS should be used for, only for arrays/ranges?

I see two generally legit use cases for UFCS : range pipelines 
and user literals (`42.seconds`). The way it becomes (ab)used 
lately is one of major reasons I like the language now notably 
less than I did ~2 years ago.


More information about the Digitalmars-d mailing list