Proof of concept for v2 - NO duplication, NO `static if` hell, NO difficulty with interoperability

rikki cattermole rikki at cattermole.co.nz
Mon Nov 1 05:21:07 UTC 2021


On 01/11/2021 2:55 PM, Andrei Alexandrescu wrote:
> I think what we have is better than C++ concepts. I wouldn't touch C++ 
> concepts. They are adding a lot of aggravation for very little power. We 
> have the opposite ratio.

The one thing signatures/typeclasses/concepts/traits all provide which D 
does not have is proper documenting of API's.

I.e.

auto:InputRange map(IR)(IR:InputRange input)


More information about the Digitalmars-d mailing list